> > I'm curious about what you need that's different from what > ClojureScript provides: a mechanism for compiling a subset of Clojure > to JavaScript code that behaves like you'd expect the Clojure code to > behave. >
ParenScript is a subset of common lisp and a javascript generator that is meant to produce readable javascript with no or little overhead. ClojureScript on the other hand by nature have to have some overhead as there is an impedance mismatch between how Clojure works and how Javascript works. For instance, a ParenScript-like javascript generator would not default to immutable values. What ParenScript provides is forms that generate clean and idiomatic javascript, can be combined as lisp forms and still generate good javascript and thus can be macroed and have lots of flexibility. ParenScript bills itself as being "javascript in disguise", it's a way to make javascript easier to write, not to compile common lisp to javascript. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---