[antlr-interest] ANTLR v2,v3
Anders Karlsson
anders at globe-trotter.us
Thu Aug 7 18:17:54 PDT 2008
> --------------------
> FROM: Johannes Luber <jaluber at gmx.de>
> TO: Anders Karlsson <anders at globe-trotter.us>
> DATE: Thu, 07 Aug 2008 14:08:35 +0200
> SUBJECT: Re: [antlr-interest] ANTLR v2,v3
>
> Anders Karlsson schrieb:
> > Hi
> >
> > Is there a detailed list with grammar changes from v2 to v3. I have one
> big 140K v2 grammar to convert and I am really struggling so it would help
> with such a list. I have the book ANTLR3 ref however there seems to be no
> helpful summary with the changes. e.g. in v2 you can write a:'t' to get an
> alias for 't' in v3 you have to write a='t' (if even true).
>
> Does <[LINK: http://www.antlr.org/wiki/pages/viewpage.action?pageId=719]
> http://www.antlr.org/wiki/pages/viewpage.action?pageId=719> help?
> >
> > I am not so familiar with the v2 grammar and was hoping not having to
> learn that dialect first when converting.
> >
> > Running the v2v3 just doesn't do it. The original grammar contains lots
> of sprinkled in C++ code and generates its own AST tree.
> >
> > I have also noticed that the ANTRLWorks1.1.7 crashes when the grammar
> is big, it suddenly stops updating the screen. Is this a known problem? It
> happens when I do "Generate code".
>
> I noticed this behaviour myself, but Jean couldn't reproduce it, I
> believe. Send him a bug report with the grammar and generate the grammar
> on the command line.
>
> Johannes
Vielen dank for the link Johannes, yes that helped!
BR/Anders.
More information about the antlr-interest
mailing list