On Thu, 2013-05-02 at 17:44 +0100, Bruno Medeiros wrote: […] > To be honest, that's one of the reasons that put me off working with > ANLTR. It seems easy to create a parser with ANTLR, but to create an > efficient, well-behaved parser it looks quite complicated, in the sense > that you can't abstract yourself from what is happening under the > hood... you have to read a lot of theory and documention to learn the > innards of ANTLR, and understand what kind of code it's actually > generating, and how it processes input. (at moments it feels like you > have to take a degree to learn how to use it effectively...)
The Groovy parser is an ANTLR 2.7.7 grammar, it works well and quickly. I think the trick is to work with the LL(k) idioms and avoid letting LALR(1) thoughts creep in. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part