A while back I wrote the start of a J interpreter in JavaScript as a
means to learn more about the J evaluation model. I didn't implement a
lot of primitives, and some parts are incomplete, but I saw mention of
people interested in a JavaScript version in a recent 'J on Mobile'
thread here so I've uploaded what I did to github:

<http://github.com/doublec/jsj>

A running version is at:

<http://www.bluishcoder.co.nz/jsj/jsj.html>

Key in a simple J expression, press 'eval' and it'll show the result
along with a table showing how it computed the expression.

If anyone's interested in expanding it you're more than welcome.

Chris.
-- 
http://www.bluishcoder.co.nz
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to