[antlr-interest] EBNF - XML representations

Yauhen Yakimovich eugeny.yakimovitch at gmail.com
Thu Apr 21 02:22:02 PDT 2011


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 <hrennau at yahoo.de> 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.


More information about the antlr-interest mailing list