]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update README for the cases generator (#107826)
authorGuido van Rossum <guido@python.org>
Thu, 10 Aug 2023 01:05:51 +0000 (18:05 -0700)
committerGitHub <noreply@github.com>
Thu, 10 Aug 2023 01:05:51 +0000 (01:05 +0000)
Tools/cases_generator/README.md

index fc9331656fe78784152079baa47ddbd8a31dc2a0..ed802e44f31ad5f32c99b7ceeaae1a20e2aa14e4 100644 (file)
@@ -7,10 +7,14 @@ What's currently here:
 
 - `lexer.py`: lexer for C, originally written by Mark Shannon
 - `plexer.py`: OO interface on top of lexer.py; main class: `PLexer`
-- `parser.py`: Parser for instruction definition DSL; main class `Parser`
+- `parsing.py`: Parser for instruction definition DSL; main class `Parser`
 - `generate_cases.py`: driver script to read `Python/bytecodes.c` and
   write `Python/generated_cases.c.h` (and several other files)
-- `test_generator.py`: tests, require manual running using `pytest`
+- `analysis.py`: `Analyzer` class used to read the input files
+- `flags.py`: abstractions related to metadata flags for instructions
+- `formatting.py`: `Formatter` class used to write the output files
+- `instructions.py`: classes to analyze and write instructions
+- `stacking.py`: code to handle generalized stack effects
 
 Note that there is some dummy C code at the top and bottom of
 `Python/bytecodes.c`