8000 Update README for the cases generator by gvanrossum · Pull Request #107826 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Update README for the cases generator #107826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update README for the cases generator
  • Loading branch information
gvanrossum committed Aug 10, 2023
commit cb278e5386024bba2c44601f1a9258439b162cd6
8 changes: 6 additions & 2 deletions Tools/cases_generator/README.md
Original file line number Diff line 70B9 number Diff line change
Expand Up @@ -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`
Expand Down
0