On Sunday, August 16, 2015 at 7:27:42 PM UTC-4, nchurch wrote:
> Speed is one use case for having the compiled script; another is 
> distribution.  A lot more people are apt to have nodejs installed than 
> Planck, so it might still be nice to have the compiled js in one file (that 
> you would presumably get from a command-line option from Planck?).

I suppose if you have ClojureScript that only makes use of, say, core 
namespaces, then that ClojureScript could be compiled and then executed in any 
JavaScript engine.

But, on the other hand, if your code makes calls into any of the planck.* 
namespaces (in order to do file I/O, shell out, etc.) then you need the Planck 
native runtime present.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to