Hacker Newsnew | comments | ask | jobs | submitlogin
Jisp - Lisp implementation in JavaScript (ducklet.com)
19 points by shawndumas 347 days ago | comments


stuntmouse 347 days ago | link

Marc Feeley of Gambit Scheme wrote Jss, which might be similar:

Jss: JavaScriptScheme: a multithreaded Scheme to JavaScript compiler

http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Dumpin...

-----

inklesspen 347 days ago | link

Agh, syntax!

-----

cturner 347 days ago | link

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.

-----

mdaniel 347 days ago | link

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.

-----

extension 347 days ago | link

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.

-----

ieure 347 days ago | link

Clever shortcut to use JS literals, which means that parsing it can be read with eval(), but the syntax sure is awful. No symbols to speak of, no keywords, and commas everywhere.

-----




Lists | RSS | Search | Bookmarklet | Guidelines | FAQ | News News | Feature Requests | Y Combinator | Apply | Library

Analytics by Mixpanel