Hi,

[org.clojure/jvm.tools.analyzer "0.4.3"]

jvm.tools.analyzer now supports transformations on CLJS code.

https://github.com/clojure/jvm.tools.analyzer
Examples:
Normal AST generation:

(cljs.tools.analyzer/ast 1);=> {:op :constant, :env {:ns {:defs {a
{:column 18, :line 2, :file nil, :name cljs.user/a}}, :name
cljs.user}, :context :statement, :locals {}}, :form 1}

Hygienic transformation:

(cljs.tools.analyzer.hygienic/macroexpand
  '(let [a 1 a a b a a a] a));=> (let* [a 1 a11306 a b a11306 a11307
a11306] (do a11307))

Please report any bugs.

Thanks,
Ambrose

-- 
-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to