https://github.com/flickersoul/minipythoncompiler
https://github.com/flickersoul/minipythoncompiler
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/flickersoul/minipythoncompiler
- Owner: FlickerSoul
- Created: 2023-06-26T15:32:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-26T15:32:50.000Z (about 2 years ago)
- Last Synced: 2025-03-24T05:06:00.715Z (4 months ago)
- Language: C++
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Mini Python Compiler
A mini Python compiler written in C++ with flex and bison.
Should be working. There are some tests in the `./tests/` folder.
Migrated the features from the previous assignment, including inline if, repeat until, elif chain, and some other operators.
It successfully understands scopes. Therefore, new variables created in, say, if statements will not be visible outside of the statements.