aboutsummaryrefslogtreecommitdiffhomepage
path: root/c.c
Commit message (Collapse)AuthorAgeFilesLines
* frontend: warn k&r function declarationlemon2025-09-141-0/+2
|
* c: function-local static varslemon2025-09-121-12/+37
|
* c: warn redefinition, allow redeclaratinoslemon2025-09-101-4/+19
|
* ccomp: fix memory leak with temporary arena parsing for stmtlemon2025-09-091-1/+3
|
* frontend: basic #includelemon2024-04-091-1/+1
|
* move definition of struct labellemon2023-09-051-10/+9
|
* fixlemon2023-09-051-2/+2
|
* make ptr offset in init take obj size into accountlemon2023-09-051-3/+4
|
* some frontend fixeslemon2023-06-301-3/+24
|
* add initializers (only static for initialier list rn)lemon2023-06-291-68/+555
| | | | and other fixes
* also C23 static_assertlemon2023-06-261-3/+3
|
* c: move codegen code after decl parserlemon2023-06-261-748/+748
|
* frontend: add static assertlemon2023-06-261-1/+37
|
* frontend: add labels and goto statementlemon2023-06-261-8/+119
|
* explicitly store predecessors in each blocklemon2023-06-211-21/+17
|
* fix type of undeclared functionslemon2023-06-201-0/+1
|
* fix cls logic for comparison instrslemon2023-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 brancheslemon2023-06-191-2/+3
|
* frontend: disallow non-local decls in for initializerlemon2023-06-191-6/+14
|
* frontend: rename parser -> lexer and document c.clemon2023-06-191-38/+56
|
* frontend: separate compiler & lexerlemon2023-06-191-296/+305
|
* frontend: add for, break, continue statementslemon2023-06-191-74/+199
|
* ELF output static datalemon2023-06-181-1/+1
|
* less memsetlemon2023-06-151-1/+0
|
* simpler handling of large constants in IRlemon2023-06-141-1/+2
|
* rename parse.c -> c.clemon2023-06-131-0/+2626