aboutsummaryrefslogtreecommitdiffhomepage
path: root/c.c
Commit message (Collapse)AuthorAgeFilesLines
...
* c: move codegen code after decl parser lemon2023-06-261-748/+748
|
* frontend: add static assert lemon2023-06-261-1/+37
|
* frontend: add labels and goto statement lemon2023-06-261-8/+119
|
* explicitly store predecessors in each block lemon2023-06-211-21/+17
|
* fix type of undeclared functions lemon2023-06-201-0/+1
|
* fix cls logic for comparison instrs lemon2023-06-201-1/+1
| | | | | | | | previously instr.cls always represented the output dataclass. this doesn't work for comparisons because we know the output is always a boolean integer and we care about the actual comparison dataclass. so now .cls represents the operation dataclass, which matches the result class except for comparisons where the result is always KI4V
* backend: compile comparison instrs and branches lemon2023-06-191-2/+3
|
* frontend: disallow non-local decls in for initializer lemon2023-06-191-6/+14
|
* frontend: rename parser -> lexer and document c.c lemon2023-06-191-38/+56
|
* frontend: separate compiler & lexer lemon2023-06-191-296/+305
|
* frontend: add for, break, continue statements lemon2023-06-191-74/+199
|
* ELF output static data lemon2023-06-181-1/+1
|
* less memset lemon2023-06-151-1/+0
|
* simpler handling of large constants in IR lemon2023-06-141-1/+2
|
* rename parse.c -> c.c lemon2023-06-131-0/+2626