I just took a look at treetop as I hadn't heard of it before - I just
watched the screencast and all I can say is Wow, just Wow!
Take a look if you haven't:
http://www.pivotalblabs.com/articles/2007/09/15/treetop-1-0-1
···
On 11/16/07, Ryan Davis <ryand-ruby@zenspider.com> wrote:
On Nov 16, 2007, at 07:27 , M. Edward (Ed) Borasky wrote:
> Charles Oliver Nutter wrote:
>> What's your goal with this? At the moment, I don't like that
>> there's only two "mostly correct" parsers in existence: Ruby's
>> Bison-based parser and JRuby's Jay-based parser. They're both
>> pretty painful to work with and evolve.
>
> Isn't there also an ANTLR parser? What about Nathan Sobo's "Treetop"?there is no complete ruby parser based on antlr yet that I know of.
treetop is not a ruby parser, it is a ruby parser generator (like
antlr).