8000 Update README for the cases generator (#107826) · python/cpython@4890bfe · GitHub
[go: up one dir, main page]

Skip to content

Commit 4890bfe

Browse files
authored
Update README for the cases generator (#107826)
1 parent f50c172 commit 4890bfe

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Tools/cases_generator/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@ What's currently here:
77

88
- `lexer.py`: lexer for C, originally written by Mark Shannon
99
- `plexer.py`: OO interface on top of lexer.py; main class: `PLexer`
10-
- `parser.py`: Parser for instruction definition DSL; main class `Parser`
10+
- `parsing.py`: Parser for instruction definition DSL; main class `Parser`
1111
- `generate_cases.py`: driver script to read `Python/bytecodes.c` and
1212
write `Python/generated_cases.c.h` (and several other files)
13-
- `test_generator.py`: tests, require manual running using `pytest`
13+
- `analysis.py`: `Analyzer` class used to read the input files
14+
- `flags.py`: abstractions related to metadata flags for instructions
15+
- `formatting.py`: `Formatter` class used to write the output files
16+
- `instructions.py`: classes to analyze and write instructions
17+
- `stacking.py`: code to handle generalized stack effects
1418

1519
Note that there is some dummy C code at the top and bottom of
1620
`Python/bytecodes.c`

0 commit comments

Comments
 (0)
0