For evaluating ClojureScript in ClojureScript you need to use the cljs.js namespace (https://github.com/cljsinfo/cljs-api-docs/blob/catalog/refs/library/cljs.js.md). Here is a gist with a small example: https://gist.github.com/mneise/36c0bbae83b19c056781
On Sunday, November 22, 2015 at 11:19:29 AM UTC-5, Yehonathan Sharvit wrote: > Following this (great) talk by https://www.youtube.com/watch?v=Elg17s_nwDg > I tried to comile cljs in cljs. > > The following code didn't work > > (->> (cljs.tools.reader/read-string "(inc 2)") > (cljs.analyzer/analyze {})) > > I got a js error: > > Uncaught #error {:message "Cannot read property 'findInternedVar' of null", > :data {:tag :cljs/analysis-error} > > > Who could help? -- 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 clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.