[antlr-interest] EBNF - XML representations

Hans-Juergen Rennau hrennau at yahoo.de
Thu Apr 21 01:55:06 PDT 2011


Hello People,

is there a translator which transforms an EBNF document into an XML 
representation? And... is there a standardized XML representation of EBNF 
grammers?

The reason for my question: such a representation might enable to write tools 
creating "grammer reports" with little effort and high precision, e.g. using 
XSLT 2.0 or XQuery. (Example for such reporting: "show for each rule the rules 
directly or indirectly referencing this rule".) And it might be a very 
appropriate source for generating configurable "standard" transformations into 
ANTLR grammers, or so I think at least.

Kind regards from
-- Hans-Juergen



More information about the antlr-interest mailing list