aboutsummaryrefslogtreecommitdiff
path: root/decl.go
Commit message (Collapse)AuthorAgeFilesLines
* Add basic type system with only integersHimbeer2024-09-061-3/+20
| | | | | This commit adds static typing with signed and unsigned integers of 8, 16, 32 and 64 bits.
* Add support for assignments to mutablesHimbeer2024-08-301-7/+7
|
* Add redeclaration checks for functions and localsHimbeer2024-08-301-0/+28
| | | | Closes #1.
* Drop the incrementing name concept for variablesHimbeer2024-08-301-25/+0
| | | | | | Since the stack can be written to any number of times it is not necessary to abide by SSA rules. This significantly simplifies the IL structure which can help with debugging IL generation.
* Add support for local constant and variable declarationsHimbeer2024-08-301-0/+25