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? Thank you Stéphane -- Stéphane Wirtel - http://wirtel.be - @matrixise
"Stéphane Wirtel"
I would like to understand this part of Python, could you help me?
You should also know the Python Language Reference documentation URL:https://docs.python.org/3/reference/, especially the Full Grammar specification URL:https://docs.python.org/3/reference/grammar.html. -- \ “Holy astringent plum-like fruit, Batman!” —Robin | `\ | _o__) | Ben Finney
On 24 October 2015 at 15:53, Stéphane Wirtel
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?
An overview of all the moving parts is at https://docs.python.org/devguide/grammar.html A more detailed description of the compiler toolchain in CPython is at https://docs.python.org/devguide/compiler.html Cheers, Nick.
Thank you
Stéphane
-- Stéphane Wirtel - http://wirtel.be - @matrixise _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com
-- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia
On Sun, 25 Oct 2015 at 19:51 Stéphane Wirtel
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
participants (4)
-
Ben Finney
-
Brett Cannon
-
Nick Coghlan
-
Stéphane Wirtel