See the hyperlinked BNF here.
README.md
: this filebnf.xml
: C++ grammar description in valid XML (according to bnf.xsd
)bnf.xsd
: XML Schema used to validate the grammar described in bnf.xml
html.xsl
: XSLT style sheet to render the hyperlinked grammar to HTMLFrom the technical perspective you should grasp the following concepts:
Given the knowledge above, you should be able to:
bnf.xml
)bnf.xsd
)html.xsl
)bnf.xml
?On a Debian system you can validate bnf.xml
using xmllint
:
xmllint --schema bnf.xsd bnf.xml --noout
If you plan to contribute to this project, it is assumed that you are able to map the command above to any other operating system and platform.
On a Debian system you can transform bnf.xml
to HTML using xsltproc
:
xsltproc -o bnf.html html.xsl bnf.xml
The command above generates the HTML representation of this BNF into file bnf.html
.
If you plan to contribute to this project, it is assumed that you are able to
map the command above to any other operating system and platform.
See bnf.xsd
and the comments therein.