Re:Jisp - Lisp implementation in JavaScript
by inklesspen on Sunday May 23, 2010 @09:12PM
(#1373506)
Agh, syntax!
[ Parent
| on HN ]
Agree.
Ometa is available for javascript, so it should be reasonably straightforward to write a parser to bring traditional lisp syntax on top of javascript. http://www.tinlizzie.org/ometa/ There's a few schemes on javascript, thought I don't think any that aim to become a target platform in their own right.
Agreed, and it may be pedantic of me, but I fail to see the Lisp-ness of this; merely using a defun function and a list data structure does not qualify.
Well, he did say it was a work in progress. I think this needs a JIT compiler, i.e. s-exps to JS. That would make it snappy and I'm pretty sure you could do proper lexical scoping and closures that way too.