mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
![]() This is for the C generator: - Disallow rule and variable names starting with `_` - Rename most local variable names generated by the parser to start with `_` Exceptions: - Renaming `p` to `_p` will be a separate PR - There are still some names that might clash, e.g. - anything starting with `Py` - C reserved words (`if` etc.) - Macros like `EXTRA` and `CHECK` |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
ast_dump.py | ||
build.py | ||
c_generator.py | ||
first_sets.py | ||
grammar.py | ||
grammar_parser.py | ||
grammar_visualizer.py | ||
metagrammar.gram | ||
parser.py | ||
parser_generator.py | ||
python_generator.py | ||
sccutils.py | ||
testutil.py | ||
tokenizer.py |