I've checked out treetop, but the documentation is pretty sparse, and
I'm not sure if someone's already done this. Is anyone aware of a
good SQL parser for ruby?
SQL parser in treetop:
https://github.com/smtlaissezfaire/guillotine/tree
It is pretty new but seems promising.
-Ben
Tim
Tim
If you are looking for good resources on treetop I would suggest
watching the confreaks video from RubyConf about it. If you haven't
seen it already it provides a great introduction to treetop by walking
you through creating a simple arithmetic parser.
Heres the link:
http://rubyconf2007.confreaks.com/d1t1p5_treetop.html
-Ben