[antlr-interest] Migrating from V2 to V3

"Paul Bouché (NSN)" paul.bouche at nsn.com
Thu Apr 16 06:05:06 PDT 2009


Concerning method error recovery the mismatch() method was renamed to 
recoverFromMismatchedToken() also its signature changed - it now returns 
an object (different from the description in the book or wiki pages).

Robert van der Hulst schrieb:
> Guys,
>
> I have 'inherited' a large project that uses Antlr V2 (CPP target).
>
> Is there a step by step guide somewhere on how to convert the Antlr V2
> grammar files to Antlr V3.
> I would not mind switching from the CPP target to for example C# too.
>
> Does anyone have experience with this ?
>
> At this moment we are using Antlr2 lexers/parses in a managed C++
> environment.
>
> We are processing large numbers of large files with it, and some
> areas can be improved (speedwise) .
>
> And anyone tell me something about the performance of Antlr 3 (both
> with a C/CPP target and/or the C# target).
>
>
>   


-- 
Paul Bouché
Voice: +49 30 590080-1284
 
Nokia Siemens Networks GmbH & Co. KG, An den Treptowers 1, 12435 Berlin, Germany
Sitz der Gesellschaft: München / Registered office: Munich
Registergericht: München / Commercial registry: Munich, HRA 88537
WEEE-Reg.-Nr.: DE 52984304

Persönlich haftende Gesellschafterin / General Partner: Nokia Siemens Networks Management GmbH
Geschäftsleitung / Board of Directors: Lydia Sommer, Olaf Horsthemke
Vorsitzender des Aufsichtsrats / Chairman of supervisory board: Lauri Kivinen
Sitz der Gesellschaft: München / Registered office: Munich
Registergericht: München / Commercial registry: Munich, HRB 163416



More information about the antlr-interest mailing list