summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2023-08-10 01:05:51 (GMT)
committerGitHub <noreply@github.com>2023-08-10 01:05:51 (GMT)
commit4890bfe1f906202ef521ffd327cae36e1afa0873 (patch)
tree128a86744aaf392f580b9de4a4f9c46b687a3144
parentf50c17243a87b02086000185f6ed1cad4b8c2376 (diff)
downloadcpython-4890bfe1f906202ef521ffd327cae36e1afa0873.zip
cpython-4890bfe1f906202ef521ffd327cae36e1afa0873.tar.gz
cpython-4890bfe1f906202ef521ffd327cae36e1afa0873.tar.bz2
Update README for the cases generator (#107826)
-rw-r--r--Tools/cases_generator/README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/Tools/cases_generator/README.md b/Tools/cases_generator/README.md
index fc93316..ed802e4 100644
--- a/Tools/cases_generator/README.md
+++ b/Tools/cases_generator/README.md
@@ -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`