Next in thread → Next in month →

Re: [xml-dev] Auto-convert an XML-encoding of BNF grammars into XSD?

From
Mukul Gandhi <>
To
"Costello, Roger L." <>
Date
2016-12-10T06:15:36Z
ID
<CABuuzNNG43ocED5sYjkY2cToe=8WLd4yWBvSi==>
Thread
Re: [xml-dev] Auto-convert an XML-encoding of BNF grammars into XSD?
I think, its useful to encode in XML BNF grammars. This way we can apply transformations easily to the grammars prescribed by the text (the compilers dragon book), like elimination of left recursion or left factoring the grammar, which then make the grammar suitable for top-down parsing.

This although, doesn't answer your specific question.


with best regards,
Mukul gandhi

On 28 November 2016 at 22:20, Costello, Roger L. <[email protected]> wrote:
Hi Folks,

Have you devised an approach for encoding in XML any BNF grammar?

If yes, have you written an XSLT program that can convert any XML-encoded BNF grammar into XSD?

/Roger

Next in thread → Next in month →