aboutsummaryrefslogtreecommitdiffstats
path: root/src/nodes.c
Commit message (Collapse)AuthorAgeFilesLines
* Add parsing for function definitionsBad Diode2022-04-031-1/+27
| | | | | | | | | | | | This commits also changes the structure of some existing functions. Namely, parse_* functions other than parse_next check that the type of the token to parse is correct. This allow us to use them directly in the rest of the code to consume tokens and properly produce an error if the token type is not the expected one. In the same fashion, two new functions consume_lparen and consume_rparen are implemented. They only report true/false and report errors if something went wrong.
* Add parsing for (set ...) statementsBad Diode2022-04-031-0/+7
|
* Add type signature to def statementsBad Diode2022-03-311-0/+61
Currently mandatory, may be optional once we have type inference.