| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,10 +7,14 @@ What's currently here: | |||
| 7 | 7 | ||
| 8 | 8 | - `lexer.py`: lexer for C, originally written by Mark Shannon | |
| 9 | 9 | - `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` | ||
| 11 | 11 | - `generate_cases.py`: driver script to read `Python/bytecodes.c` and | |
| 12 | 12 | 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 | ||
| 14 | 18 | ||
| 15 | 19 | Note that there is some dummy C code at the top and bottom of | |
| 16 | 20 | `Python/bytecodes.c` | |
| Back | FazBrowse Home | New Git URL |
0 commit comments