>> 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.
Dan <redalas...@gmail.com> writes:
> 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.

Exactly. I need it to be small, lightweight and produce small readable
Javascript. I don't want Javascript code to behave like Clojure, on the
contrary -- I want it to behave like Javascript. I just want lispy
syntax for it and, most importantly, macros.

--J.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to