aboutsummaryrefslogtreecommitdiff
path: root/compiler/parser.cup
Commit message (Collapse)AuthorAgeFilesLines
* [compiler.cup] Add support for function calls!Mustafa Quraish2022-02-051-10/+104
|
* [compiler.cup] codegen for unary ops, short circuiting &&/||Mustafa Quraish2022-02-051-1/+0
|
* [compiler.cup] Add support for lexically scoped local variablesMustafa Quraish2022-02-051-11/+101
|
* Add implementation of self-hosted compiler so farMustafa Quraish2022-02-051-0/+433
There's also a `run.sh2` script which does the following: - Compiles the C compiler `build/cupcc` - Compiles the self-hosted compiler `build/cup.out` (with `cupcc`) - Compiles the specified file on CLI with `build/cup.out` - Runs this exectuable and shows the output