aboutsummaryrefslogtreecommitdiffstats
path: root/src/nodes.c
Commit message (Collapse)AuthorAgeFilesLines
* Move semantic analysis to separate fileBad Diode2022-04-181-1/+0
|
* Add funcall node type and fix type resolution bugsBad Diode2022-04-111-0/+15
|
* Add rudimentary type checkingBad Diode2022-04-081-1/+1
|
* Add initial implementation of AST vizualizationBad Diode2022-04-081-0/+3
|
* Add initial implementation of typeclass resolutionBad Diode2022-04-071-0/+1
|
* Add scope pointer to blocks and functionsBad Diode2022-04-061-0/+1
|
* Add initial implementation of symbol checkingBad Diode2022-04-061-0/+2
|
* Add parsing of if statementsBad Diode2022-04-061-0/+14
|
* Add NODE_BLOCK for scoped expressionsBad Diode2022-04-061-7/+11
|
* 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.