From: hipster Date: 2001-10-30T20:12:27+09:00 Subject: [ruby-talk:23832] Re: GUI for Ruby On Tue, 30 Oct 2001 17:19:22 +0900, Robert Feldt wrote: > On Tue, 30 Oct 2001, Benoit Cerrina wrote: > > > > like it... Or for that matter use an existing java yacc grammar (if there > > > are any). > > antlr is a great parser generator for java or c++ it is very modern compared > > to yacc and easier to debug and it has available a java grammar see > > www.antlr.org > > > Yes, but it handles LL(k) grammars which does not include all Context-free > languages. So for some grammars you'll have to adapt what you want to what JFYI: ANTLR should be able to handle any type 0-3 grammar using semantic and syntactic predicates, multiple parsers/lexers, AST transformations, &c. Still extra work, but no need to rewrite the grammar. > it can handle. Generalized LR (GLR) parser generators (and also Early > parser generators) can handle all context free languages. Rockit is one > GLR parser generator for Ruby in its infancy. Michel