| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add basic `defer` implementation. | Mustafa Quraish | 2022-02-01 | 1 | -1/+1 |
| | | | | | | | We don't have any closures yet, so it's essentially the same as just moving the statement after the `defer` keyword to the end of the block/ right before returning from the function. | ||||
| * | Testing: Add support for testing stdout results, check builtins | Mustafa Quraish | 2022-02-01 | 1 | -0/+35 |
| | | |||||
| * | Update build system to use Makefile | Mustafa Quraish | 2022-01-30 | 1 | -21/+4 |
| | | | | | | | | | | `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 | ||||
| * | Make the compiler / scripts work on Linux too (yay!) | Mustafa Quraish | 2022-01-29 | 1 | -3/+14 |
| | | |||||
| * | Implement blocks (lexically scoped) and conditionals | Mustafa Quraish | 2022-01-29 | 1 | -1/+19 |
| | | |||||
| * | Allow uninitialized variable declarations | Mustafa Quraish | 2022-01-29 | 1 | -19/+4 |
| | | |||||
| * | Add some tests for local variables | Mustafa Quraish | 2022-01-29 | 1 | -0/+20 |
| | | |||||
| * | Scripts: Reorganize a bit, add some rudimentary shell-testing | Mustafa Quraish | 2022-01-28 | 1 | -0/+27 |
| 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. | |||||