anna
dbcdee1c33
ast: unify function param and array parsing
2022-07-28 20:53:59 +02:00
anna
8bd25a3c6b
add true and false keywords
2022-07-28 20:10:14 +02:00
anna
cb98c78b37
add support for if statements
2022-07-28 19:52:15 +02:00
anna
05e73aeb21
ast: refactor and add production rule docs
...
As usual, this is nowhere near finished, but it's
a good start.
2022-07-28 18:38:36 +02:00
anna
e33c2022c5
ast: add expression support
...
This adds the basic set of expressions:
assignments, binary/unary expressions, function
calls, and array accesses. Binary operator
precedence is also taken into account. What's
still missing are parenthesized expressions, but
those should be easy to do.
2022-07-27 19:43:26 +02:00
anna
10ca36535f
lex: add a couple more operators
2022-07-24 16:51:33 +02:00
anna
7b7cd933d3
rename module to target
...
To avoid potential confusion with Rust modules,
gaybuild's modules are now called targets.
2022-07-24 15:37:46 +02:00
anna
30273b7902
ast: add abstract syntax tree parser
...
This is nowhere near finished, but it's a good
start for now.
2022-07-24 14:06:09 +02:00