aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix typechecking for nested struct literalsBad Diode10 days1-1/+1
|
* Add better ergonomics for nested struct literalsBad Diode10 days1-6/+32
|
* Update inner struct symbol resolutionBad Diode10 days1-2/+1
|
* Add compound types for anonymous struct fieldsBad Diode11 days1-48/+49
|
* Remove parenthesis requirement from match, while, ifBad Diode11 days1-12/+0
|
* Add struct literals typecheckingBad Diode11 days1-1/+1
|
* Change grammar for struct literalsBad Diode11 days1-39/+41
|
* Add proper parsing of return statements and functions paramsBad Diode12 days1-0/+8
|
* Add non-exhaustive typechecking for cond/match exprBad Diode12 days1-6/+8
|
* Add constrain to let parsing either type or value must be presentBad Diode13 days1-0/+6
|
* Start implementing the typecheckerBad Diode2024-06-211-0/+4
|
* Add semantic checking for enum constructsBad Diode2024-06-211-1/+4
|
* Add scope pointer to AST nodesBad Diode2024-06-211-0/+1
|
* Add a basic symbol checkerBad Diode2024-06-211-3/+4
|
* Make sure symbol chains continue as expected.Bad Diode2024-06-201-0/+7
|
* Add parsing of funcallsBad Diode2024-06-201-0/+10
|
* Add parsing support for functionsBad Diode2024-06-201-0/+144
|
* Move parser to its own fileBad Diode2024-06-191-429/+911
|
* Move semantic analysis to separate fileBad Diode2022-04-181-521/+4
|
* Add a more rich symbol table value and typecheck funcall argsBad Diode2022-04-181-31/+96
|
* Refactor to remove redundant symbol_check functionBad Diode2022-04-181-212/+97
|
* Add funcall node type and fix type resolution bugsBad Diode2022-04-111-12/+80
|
* Add more type rules and numeric type coercionBad Diode2022-04-091-20/+163
|
* Add rudimentary type checkingBad Diode2022-04-081-46/+187
|
* Add initial implementation of AST vizualizationBad Diode2022-04-081-1/+1
|
* Add initial implementation of typeclass resolutionBad Diode2022-04-071-5/+84
|
* Add scope pointer to blocks and functionsBad Diode2022-04-061-7/+3
|
* Add hashing function for symbolsBad Diode2022-04-061-3/+5
|
* Add initial implementation of symbol checkingBad Diode2022-04-061-20/+203
|
* Prepare parse tree for returnBad Diode2022-04-061-6/+18
|
* Add TODO.md file to keep track of open tasksBad Diode2022-04-061-6/+3
|
* Add parsing of if statementsBad Diode2022-04-061-2/+49
|
* Add NODE_BLOCK for scoped expressionsBad Diode2022-04-061-17/+25
|
* Add parsing for function definitionsBad Diode2022-04-031-25/+126
| | | | | | | | | | | | 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/+33
|
* Add type signature to def statementsBad Diode2022-03-311-62/+13
| | | | Currently mandatory, may be optional once we have type inference.
* Minor styling changesBad Diode2022-03-301-27/+10
|
* Add initial parsing of variable definitionsBad Diode2022-03-301-4/+61
|
* Add support for logic builtins and boolsBad Diode2022-03-301-1/+23
|
* Add parsing for builtin arithmetic opsBad Diode2022-03-301-3/+57
|
* Use Node refs as return arguments from parsingBad Diode2022-03-301-27/+47
|
* Make unknown printing explicitBad Diode2022-03-261-3/+1
|
* Add number parsingBad Diode2022-03-121-79/+89
|
* Add boilerplate for parserBad Diode2022-02-121-860/+108
|
* Add support for captured loads inside lambdasirBad Diode2022-01-091-1/+1
|
* Add some comments for laterBad Diode2022-01-031-1/+6
|
* Ensure new procedures are compiled only onceBad Diode2021-12-301-1/+38
|
* Add `not` and `and` builtins for ir compilationBad Diode2021-12-231-4/+11
|
* Fix typo in enum nameBad Diode2021-12-221-4/+4
|
* Integrate builtin text into objectsBad Diode2021-12-221-45/+34
|