oh metalevel eDSL, I was expecting standalone sql parsing :)
Ah yeah, I should've been more explicit in the title.
I think parsing wouldn't be hard either (since that's essentially what the macros are doing), I just didn't do it.
In fact, I think probably all the macro parsing code could be reused for a parser!
warning you're one step away from prolog
Tomorrow: Prolog-like logic programming DSL in Julia.
What I really want to see is an APL implementation as a Julia DSL.