Hi!
I am playing with ClojureScript: i added web page with text box for clojure 
code (clojure script subset) and i want to run it (REPL style).
Main idea is to play with ClojureScript transpiler implementation.
My current progress is ability to eval simple code without any function 
definition.
If i add function definition then following error occured: 'defn' macro doesn't 
expands correctly - during expanding '.core.cst$sym$cljs$core$macros_SLASH_fn' 
symbol is not found in core$macros.js because this symbol is not defined in 
constants_table.js, where 'cljs.core.cst$sym$cljs$core_SLASH_fn' is defined!
It seems suspicious for me that these two symbols have "$macros" difference in 
their name.

The question is when core$macros.js and constants_table.js are used during 
transpiling to js?
I browsed code and found emit-constants-table function which is used no where;
core$macros.js is referenced explicitly in js.cljs only.

Thanks in advance.

Andrew

-- 
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 https://groups.google.com/group/clojurescript.

Reply via email to