aboutsummaryrefslogtreecommitdiff
path: root/run.sh
Commit message (Collapse)AuthorAgeFilesLines
* Add support for read-only constant expressionsMustafa Quraish2022-02-041-1/+1
| | | | | | | We can now have constant definitions that are read-only, evaluated at compile time and just behave like integer literals when accessed. These are nice because we can now potentially inject syscall numbers/ etc through the compiler.
* Push `argc` and `argv` to the `main()` functionMustafa Quraish2022-02-031-1/+1
|
* Update build system to use MakefileMustafa Quraish2022-01-301-5/+12
| | | | | | | | | `make` to compile the compiler `make XXX.out` to assemble/link `XXX.nasm` into an executable `make test` to run all tests `make tests/XXX` to run `tests/XXX.sh` test file `./run.sh <cupcc args>` to build, compile, run and show exit code
* Scripts: Reorganize a bit, add some rudimentary shell-testingMustafa Quraish2022-01-281-0/+18
Just to make sure we don't break stuff. We'll probably want better unit tests specifically for each part once we're more stable.