Hi!
I want to write a code to code compiler for both Clojure and ClojureScript.
So I need something like clojure.tools.analyzer.passes.js.emit-form/emit-form
, but tools.analyzer.js is abandoned and cljs.analyzer
can't emit clojure form from AST.
How can I write my code transformation in terms of AST with tools.analyzer.jvm
and cljs.analyzer
?
Should I use both cljs.analyzer
and clojure.tools.analyzer.passes.js.emit-form/emit-form
?
Can I use clojure.tools.analyzer.ast/walk
with cljs.analyzer
?
How to use passes in terms of tools.analyzer
with cljs.analyzer
? I think it's impossible.