[antlr-interest] Recover grammar file from generated code?

Terence Parr parrt at cs.usfca.edu
Fri Sep 25 12:34:10 PDT 2009


I believe you could recover the grammar from the comments generated by  
ANTLR.
Ter
On Sep 25, 2009, at 1:16 AM, Hoang Phung wrote:

> Hi all,
>
> In my project, I inherited the code (Parser and Lexer) generated with
> ANTLR by someone else but I couldn't retrieve the original grammar  
> file
> from him. Can someone tell me if there is a way to recover the grammar
> file from the generated code and embedded comments? Thanks in advance.
>
> Cheers,
> Hoang
>
> -- 
> Dr. M. Hoang Phung
> School of Computing and Communications
> Faculty of Engineering and IT, University of Technology, Sydney (UTS)
> Room: B10.4.347  Phone: +61 2 9514 4502  Fax: +61 2 9514 4492
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list