Definitely early days, but exciting. But I'm partial because it is using meander.
I wonder if rather than using strings it might be worth rewriting to an ast representation. I know rust has a json ast format. So you could turn it into normal clojure data structures, serialize to json, and then do code gen. Might be a bit more complicated, but perhaps more flexible.
5
u/jimmyhmiller Jun 11 '19
Definitely early days, but exciting. But I'm partial because it is using meander.
I wonder if rather than using strings it might be worth rewriting to an ast representation. I know rust has a json ast format. So you could turn it into normal clojure data structures, serialize to json, and then do code gen. Might be a bit more complicated, but perhaps more flexible.