Is the a simpler AST format for Clojure(Script)?


#1

I’m programming Clojure with syntax trees, now there are already 2 solutions:


After a while I found emitting Clojure(Script) is not an optimal solution for me. I my editor I got an syntax tree, then I write Clojure(Script) files from syntax, and at last Clojure Compiler will read text file to parse. If there’s any IR for Clojure, it can be simpler.

Is there anything like IR in Clojure compilation that I can use?