[Python-Dev] Where is defined the grammar of Python?

Brett Cannon brett at python.org
Mon Oct 26 12:41:48 EDT 2015


On Sun, 25 Oct 2015 at 19:51 Stéphane Wirtel <stephane at wirtel.be> wrote:

> Hi all,
>
> Just to understand, we have the Parser/Python.asdl and Grammar/Grammar
> files.
>
> Which one is used for the AST ?
>
> I would like to understand this part of Python, could you help me?
>
>
See https://docs.python.org/devguide/grammar.html and
https://docs.python.org/devguide/compiler.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20151026/226d04a8/attachment.html>


More information about the Python-Dev mailing list