Commit Graph

6 Commits

Author SHA1 Message Date
Niklas Larsson
558ddd9773 Add a getLine primitive to browser js
Making console apps to run in the browser is likely a minority taste.
But prompt works for input as it's synchronous.
2015-09-24 17:06:51 +02:00
raichoo
ac7c313fe6 javascript: schedule continuation every 1000 calls
using stdout with node has a curious side effect. It
allocates memory that will only be reclaimed after
a new event has been scheduled. Therefore we set
a timeout every 1000 calls that will execute the
remaining code.
2015-08-12 00:49:28 +02:00
raichoo
4830e9183e javascript: adjust functionnames 2014-06-24 20:48:55 +02:00
raichoo
c6cf8199ed javascript: indent systemInfo 2014-06-24 20:48:55 +02:00
niklas
cc9b104e90 Add a prim__systemInfo primitive.
Add System.Info with os and backend functions.

Add system info to JS and C backends.
2014-05-29 16:11:06 +02:00
raichoo
549627cefb javascript: switch to jsbn 2013-10-12 01:46:58 +02:00