Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fsouza99/c-minus-compiler
A C-Minus compiler implemented with Python.
https://github.com/fsouza99/c-minus-compiler
c-minus compilers-design
Last synced: about 2 months ago
JSON representation
A C-Minus compiler implemented with Python.
- Host: GitHub
- URL: https://github.com/fsouza99/c-minus-compiler
- Owner: fsouza99
- License: mit
- Created: 2022-11-30T01:41:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-02T20:27:13.000Z (9 months ago)
- Last Synced: 2024-04-02T21:35:46.750Z (9 months ago)
- Topics: c-minus, compilers-design
- Language: Python
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C-Minus Compiler
A compiler project for the C-Minus language implemented in Python.
For now, it contains a scanner and a parser.## Directories
The *examples* directory contains code files written in C-Minus. The *(error)* variants are these same *cm* files, but with selected errors included for testing purposes.
The scanner produces the *trace* files. They contain the tokens extracted through complete *cm* file readings.
The parser produces the *tree* files, which hold the syntax tree of a program in a *cm* file.