alx71hub / hcb

Hyperlinked C++ BNF Grammar
GNU General Public License v3.0
41 stars 7 forks source link

Hyperlinked C++ BNF Grammar

See the hyperlinked BNF here.

Which files are contained in this package?

How do I contribute to this project?

From the technical perspective you should grasp the following concepts:

Given the knowledge above, you should be able to:

How do I validate 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.

How do I generate the HTML rendition of this BNF?

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.

What is the format of the XML file?

See bnf.xsd and the comments therein.