[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Finally turned javascript version to a true REPL interpret

From: Elias Mårtenson
Subject: Re: [Bug-apl] Finally turned javascript version to a true REPL interpreter
Date: Mon, 31 Mar 2014 15:03:26 +0800

This is pretty amazing stuff. Having the ability to save workspaces using HTML5 local storage would be a nice addition.

Also, using the arrow keys to select from the command history would be neat.

I can think of a million other features, but I'm sure you can too. :-)


On 31 March 2014 02:50, <address@hidden> wrote:

I had to work more in order to turn the interpreter to an asynchronous process
(if you don't know about _javascript_: in two words, a _javascript_ program can't
"wait" for input from the user; you have to make your program event-based).

I finally made the interpreter completely leave between each interaction, but
with current state remaining in memory between each call.

At first glance, it seems to work: http://baruchel.hd.free.fr/apps/apl/i/
(the other version is still here: http://baruchel.hd.free.fr/apps/apl/ and
it has a different purpose).

You can know use it as an online interpreter. I will add some colors/themes
in the days to come, but the most difficult part is done.


Thomas Baruchel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]