Add the grammar to the reference manual, since the new docs don't

have the feature of putting all the small EBNF snippets together
into one big file.
This commit is contained in:
Georg Brandl 2008-08-01 20:04:43 +00:00
parent 1299e36a70
commit 632f631c48
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,7 @@
Full Grammar specification
==========================
This is the full Python grammar, as it is read by the parser generator and used
to parse Python source files:
.. literalinclude:: ../../Grammar/Grammar

View File

@ -27,4 +27,4 @@ interfaces available to C/C++ programmers in detail.
simple_stmts.rst simple_stmts.rst
compound_stmts.rst compound_stmts.rst
toplevel_components.rst toplevel_components.rst
grammar.rst