Clojurejs - A naive Clojure to javascript translator
1–9 of 9 posts
Re: Clojurejs - A naive Clojure to javascript translator
#2Re: Clojurejs - A naive Clojure to javascript translator
#3Is the title supposed to be "naive" or "native"? The two words mean vastly different things.
Re: Clojurejs - A naive Clojure to javascript translator
#4Re: Clojurejs - A naive Clojure to javascript translator
#5https://github.com/jashkenas/coffee-script/wiki/List-of-lang...
Re: Clojurejs - A naive Clojure to javascript translator
#6Is the title supposed to be "naive" or "native"? The two words mean vastly different things.
Re: Clojurejs - A naive Clojure to javascript translator
#7There's an small but interesting discussion about it in the Google group: http://groups.google.com/group/clojure/browse_thread/thread/...
http://www.reddit.com/r/Clojure/comments/f125l/clojurejs_a_n...
Re: Clojurejs - A naive Clojure to javascript translator
#8You can try it out at http://clojurescript.n01se.net/repl/ which evals your code via a Java applet.
On a side-note, I'm modifying an older Javascript-based Lisp interpreter to have a more Clojure-like feel, as well as adding in Macros, etc. and running it on the v8 debug shell "d8" (built with readline enabled). The goal is to be write something like Clojure in a way one would write Node.js apps. At some point I want to have it auto-compile the lisp modules to Javascript a la Python's .pyc files.
Re: Clojurejs - A naive Clojure to javascript translator
#9Does this differ significantly from the clojurescript which is already on clojure-contrib? https://github.com/richhickey/clojure-contrib/tree/master/cl... You can try it out at http://clojurescript.n01se.net/repl/ which evals your code via a Java applet. On a side-note, I'm modifying an older Javascript-based Lisp interpreter to have a more Clojure-like feel, as well as adding in Macros, etc. and running it on the v8…
clojurejs generates javascript which has no other dependencies (other than any in the source Clojure (subset) code itself) and should run on any reasonable browser.
FWIW, clojurejs is a much less ambitious effort born out of the necessity of one developer (me). You can read more about the current limitations and some of the things I'd like to improve on the project's github issues page and the Google groups discussion referenced elsewhere in these comments.