aboutsummaryrefslogtreecommitdiff
path: root/src/parse/parsetree.rs
AgeCommit message (Collapse)Author
2025-08-06Added boilerplate and tests for let-bindsJoel Kronqvist
2025-08-05Added vectors and tests for their evaluation and typingJoel Kronqvist
2025-08-05Added boilerplate and tests for booleans, integer comparisons and boolean ↵Joel Kronqvist
operators.
2025-08-04Added repl and some documentation. Improved error messages. Removed dead code.Joel Kronqvist
* Removed same_variant in parse::parsetree * Added SExp::multistep (for use of the repl) Improved error messages: * Added parenthesis around types * Changed how errors propagate inferring generics: added the error variant ArgumentsDontMatchGeneric, implemented the displaying of it, added tests for it. * Had to change some tests to match for the new changes
2025-07-31Added parse_to_ast for public use from other modulesJoel Kronqvist
2025-07-31Implemented tokens_to_ast. On second thought we should've just parsed the ↵Joel Kronqvist
code straight to ast without tokenization (implementing a parser on tokens was such a pain...)
2025-07-30Added tests for tokens_to_astJoel Kronqvist
2025-07-27Implemented tokenize with tests - note it doesn't check syntaxJoel Kronqvist
2025-07-27Implemented parse_tokenJoel Kronqvist
2025-07-27Created parse_token and added tests for itJoel Kronqvist