On Wed, Oct 29, 2008 at 9:53 AM, Tom Hickey <[EMAIL PROTECTED]> wrote: > > Chouser, does ClojureScript not have something like this in order to > do read?
It doesn't. ClojureScript currently uses the standard Clojure reader and parts of the compiler. This means, for example, that you can't have a stand-along client-side repl. The repl I use for testing accepts a string from the user, sends it to the Java/Clojure server for compilation to JavaScript, which is then sent back to the browser for evaluation. It would certainly be possible to port the reader and compiler to JavaScript as well, but I'd question the utility of this. The browsers will always have faster and better support for reading JSON than for reading Clojure s-expressions. Is there something wrong with JSON I'm not seeing? --Chouser --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---