aboutsummaryrefslogtreecommitdiff
path: root/src/parse.zig
Commit message (Collapse)AuthorAge
* move testing source code to own fileMathias Magnusson2025-07-22
|
* implement comparisonsMathias Magnusson2025-07-03
|
* add while loopsMathias Magnusson2025-06-07
|
* add variable reassignments and basic block argumentsMathias Magnusson2025-06-07
|
* begin implementing if expressionsMathias Magnusson2025-06-04
| | | | | | registers are used over block boundaries though, which doesn't work very well so i turned off register freeing to make it look like it works (unless you create more than 12 values total)
* remove semicolonsMathias Magnusson2025-06-03
| | | | much bloat they are, indeed
* add { blocks } with scoped local variablesMathias Magnusson2025-06-03
|
* stop printing non-existant errorsMathias Magnusson2025-06-02
|
* force parenthesis around argumentsMathias Magnusson2025-06-02
| | | | | | would've been cool to not force that imo, but otherwise it seems like there can be absolutely no places where two expression-like things could be next to each other, which is a kinda meh
* add variable declarationsMathias Magnusson2025-06-02
|
* run program output automatically & print parse tree betterMathias Magnusson2025-06-02
|
* add statements ending in ; and allow parsing multiple of themMathias Magnusson2025-06-02
|
* make Lexer peekable without a wrapperMathias Magnusson2025-06-02
|
* add identifiers, procedure calls and a built in print procedureMathias Magnusson2025-06-01
|
* add (slightly) prett(ier) printing for exprsMathias Magnusson2025-06-01
|
* add subtractionMathias Magnusson2025-06-01
|
* codegen integer literals correctlyMathias Magnusson2025-05-31
| | | | This was not as easy as one would expect ☠️
* actually codegen the provided codeMathias Magnusson2025-05-31
| | | | | | ... well, since all we can do is to add integer literals, we produce code for the calculations and then perform the exit syscall with the result
* compile some god damn additionsMathias Magnusson2025-05-29
|
* initial commitMathias Magnusson2025-05-28