@gcoumessos I'm glad you're enjoying it!
Once term rewriting clicks it’s so incredibly good
Been adding hiccup like tags to little dsl ast’s and you can just keep rewriting again and again and again until it lowers back into clojure
Love this library
Dsl -> parse into hiccup like structure -> rewrite until back into clojure -> wrap the whole thing in a macro -> done
what do you mean by 'back into clojure' here? How is the final clojure representation different from the 'parse into hiccup' step?
I was parsing the clojure dsl forms into hiccup like tags to pick out information and add some loose typing to know what the form is, then rewriting the hiccup into other hiccup forms closer to normal clojure syntax, then finally rewriting it back into valid clojure syntax which I could execute.
thanks! I had misunderstood your final intent as producing some data structure rather than executing clojure syntax.
Can’t believe this isn’t more well known