|
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 |
Hi,
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.
Regards,
--
Thomas Baruchel
[Prev in Thread] | Current Thread | [Next in Thread] |