|
|
6bd58a4ecb
|
Parse multiple statements
- parse() now parses a Vec<Statement> that can represent basically a
full program
- Now multiple lines / statements are parsed together
|
2021-12-24 01:56:35 +01:00 |
|
|
|
41b7247ffd
|
Implement some statements
- Impl. expression only statement (expr;)
- Impl. let binding ("let" ident "=" expr;)
- Impl. assignment (ident "=" expr;)
|
2021-12-24 01:48:18 +01:00 |
|
|
|
5be3fd5bbc
|
Parse var and fn calls in expr
- Parse variable values in expressions
- Parse function calls in expressions
|
2021-12-24 01:25:04 +01:00 |
|
|
|
8de6e990b4
|
Start implementing parser
- Implemented AST + parsing for maths expressions
|
2021-12-23 22:59:57 +01:00 |
|
|
|
f2a00e6560
|
Initial commit
- Implemented basic lexer
- No spans implemented yet
- No real error handling yet
|
2021-12-23 16:48:49 +01:00 |
|