aboutsummaryrefslogtreecommitdiff
path: root/generate.go
Commit message (Collapse)AuthorAgeFilesLines
* Make function parameters available as constantsHimbeer2024-09-061-0/+3
| | | | Fixes #4.
* Add basic type system with only integersHimbeer2024-09-061-30/+282
| | | | | This commit adds static typing with signed and unsigned integers of 8, 16, 32 and 64 bits.
* Fix IL generation error handling being unreliableHimbeer2024-09-051-1/+1
|
* Switch to signature-based extern function declarationsHimbeer2024-09-051-5/+15
|
* Require extern functions to be declaredHimbeer2024-09-041-0/+14
|
* Implement remainder operator and assignment statementHimbeer2024-09-011-0/+26
|
* Add support for arithmetic assignment statementsHimbeer2024-09-011-0/+96
|
* Allow the use of local variables in expressionsHimbeer2024-08-301-0/+15
|
* Add support for assignments to mutablesHimbeer2024-08-301-3/+23
|
* Add redeclaration checks for functions and localsHimbeer2024-08-301-0/+26
| | | | Closes #1.
* Drop the incrementing name concept for variablesHimbeer2024-08-301-15/+2
| | | | | | 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/+38
|
* Fix string literal definition insertion locationHimbeer2024-08-301-2/+8
|
* Implement function callsHimbeer2024-08-301-0/+21
|
* Add REUSE compliant licensing informationHimbeer2024-08-301-0/+4
|
* Implement IL generation for expression evaluationHimbeer2024-08-301-10/+301
|
* Initial commitHimbeer2024-08-301-0/+85