Hi, I had a similar thought myself that this could be very handy while jumping into the markup realm.
XML itself is described using an adaptation of EBNF. There is also a respective ISO standard for EBNF. But I am unaware of any XML (markup) representation of ENBF syntax. I believe it is not so complicated to produce a XSD for this and s.o. I wonder if there is any primary task you are urgent to solve with this besides satisfying own transformation joy? On Thu, Apr 21, 2011 at 10:55 AM, Hans-Juergen Rennau <[email protected]> wrote: > 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 > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address > -- With best regards, Y.Y. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
