Is this something crazy to ask as a developer ? I think that even for the author something like this would make several tasks easier.
Ideally I would like to feed the parser with an sql string, get it's syntax tree, maybe do some rewrite and feed it execute it, this possibility can open the door to amazing things. ? Thanks for all answers so far, I still want to hear any other idea that can lead to achieve the original request ! ? Cheers !