| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add support for `char` type + string/char literals | Mustafa Quraish | 2022-02-02 | 1 | -0/+22 |
| | | | | | | | | | | | | This commit does a few things in one go: - Add support for a `char` type + some changes to support the new size - Add support for character literals. We need some escaping here to be able to use `\n` and `\0`, etc. - Add support for string literals. These are all stored in the `.data` section. Fortunately NASM already handles the escape characters. - Fix some bugs with code generation, specifically using `movsx` to sign extend the smaller types into 64-bit registers. | ||||
| * | Put tokens in their own macro to allow looping over them | Mustafa Quraish | 2022-01-30 | 1 | -3/+4 |
| | | |||||
| * | Rename `cup` directory to `src` | Mustafa Quraish | 2022-01-30 | 1 | -0/+70 |