[grammarians] Comparison to RubyFront grammar
Xue Yong Zhi
zhixueyong at hotmail.com
Tue Oct 24 11:37:45 EDT 2006
>- What's the state of the RubyGrammar project? How much code can it
>parse today? (especially in light of the recent contributions)
As far as I know, the ruby grammar in the SVN and the one uploaded to
antlr.org is very basic. Based on my experience, they can parse at most 5%
of the ruby's stdlib.
>- How does it compare to the RubyFront grammar? I'm no grammarian, but
>at a glance that one appeared to be more complete, and was able to parse
>the entire stdlib (though I have no idea about accuracy).
As the author of rubyfront, I can assure you it can parse the entire stdlib
and ROR:). Rigth now I am using it as the frontend of my xruby compiler and
it works pretty well.
>- Is this project still being actively worked? If I have grammarians
>interested in helping, should I point them at rubygrammar or rubyfront?
>(I know of a few such folks inside and outside of Sun standing by)
I do not know if there is anyone still working on this project. It looks
like the last SVN commit was 8 months ago, and this mailist has no
activities for quite a few months.
As for rubyfront, everyone is welcome to change even fork it (I just did not
feel the need myself so I did not check it into the SVN here). All the new
code can be found at:
All the code is the 'parser' package is BSD licensed (I will clean the
license mess in the code soon, do not let it stop you:))
Stay in touch with old friends and meet new ones with Windows Live Spaces
More information about the Rubygrammar-grammarians