[grammarians] ruby parser
Charles Oliver Nutter
charles.nutter at sun.com
Sat Dec 2 13:17:38 EST 2006
Hanan Mneimneh wrote:
> Hello
>
> I need to generate a state machine for a web application developed using
> ruby on rails. For this purpose, I need to dynamically parse the controller
> which is a ruby class. Is there a decent parser to parse ruby code????????
There's an ANTLR grammar available in the rubygrammar repository that's
already being used for the XRuby compiler project. That should get you
what you need!
--
Charles Oliver Nutter, JRuby Core Developer
Blogging on Ruby and Java @ headius.blogspot.com
Help spec out Ruby today! @ www.headius.com/rubyspec
headius at headius.com -- charles.nutter at sun.com
More information about the Rubygrammar-grammarians
mailing list