cpython/Tools/peg_generator/pegen
Pablo Galindo e55a0e971b
Fix 'gather' rules in the python parser generator (GH-22021)
Currently, empty sequences in gather rules make the conditional for
gather rules fail as empty sequences evaluate as "False". We need to
explicitly check for "None" (the failure condition) to avoid false
negatives.
2020-09-03 15:29:55 +01:00
..
__init__.py
__main__.py bpo-40334: Refactor peg_generator to receive a Tokens file when building c code (GH-19745) 2020-04-28 13:11:55 +01:00
ast_dump.py Fix some scripts in the peg generator folder (GH-19853) 2020-05-02 05:23:06 +01:00
build.py bpo-40939: Remove the old parser (GH-20768) 2020-06-11 17:30:46 +01:00
c_generator.py bpo-41215: Don't use NULL by default in the PEG parser keyword list (GH-21355) 2020-07-06 12:31:16 -07:00
first_sets.py Clean up unused imports for the peg generator module (GH-19891) 2020-05-04 03:03:05 +01:00
grammar.py Clean up unused imports for the peg generator module (GH-19891) 2020-05-04 03:03:05 +01:00
grammar_parser.py bpo-40334: regenerate metaparser as part of regen-all (GH-19854) 2020-05-02 05:23:39 +01:00
grammar_visualizer.py Clean up unused imports for the peg generator module (GH-19891) 2020-05-04 03:03:05 +01:00
keywordgen.py Delete remaining references to Grammar/Grammar from docs (#21624) 2020-07-26 08:27:52 -07:00
metagrammar.gram
parser.py
parser_generator.py Fix typing problems reported by mypy in pegen (GH-20297) 2020-05-21 21:39:44 +01:00
python_generator.py Fix 'gather' rules in the python parser generator (GH-22021) 2020-09-03 15:29:55 +01:00
sccutils.py
testutil.py bpo-40750: Support -d flag in the new parser (GH-20340) 2020-05-25 18:38:45 +01:00
tokenizer.py