[antlr-interest] Generate a grammar rule without actions, assignments etc.
Priolo, Scott
spriolo at walkerinfo.com
Thu Feb 5 05:47:35 PST 2009
You could write a grammar that does this work for you. (sort of a grammar that documents grammars). Sounds like a great project.
-----Original Message-----
From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-bounces at antlr.org] On Behalf Of "Paul Bouché (NSN)"
Sent: Thursday, February 05, 2009 8:34 AM
To: antlr-interest at antlr.org
Subject: [antlr-interest] Generate a grammar rule without actions,assignments etc.
Hi,
is there already a tool or "hidden function" with ANTLRWorks to generate
a "clean" grammar from a given ANTLR grammar, i.e. one which basically
only contains the parsre and lexer rules.
I would like to use that for documentation purposes.
Best,
Paul
--
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
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