|
|
4e92a416ed
|
Improve CLI
- Remove unused flags
- Show more helpful error messages
|
2022-02-10 12:58:09 +01:00 |
|
|
|
7ea5f67f9c
|
Cleaner unop parsing
|
2022-02-09 14:23:24 +01:00 |
|
|
|
cbf31fa513
|
Implement simple AST optimizer
- Precalculate operations only containing literals
|
2022-02-04 17:06:38 +01:00 |
|
|
|
588b3b5b2c
|
Autoformat
|
2022-02-03 17:38:25 +01:00 |
|
|
|
3098dc7e0a
|
Implement simple CLI
- Implement running files
- Implement interactive mode
- Enable printing tokens & ast with flags
|
2022-01-31 16:24:25 +01:00 |
|
|
|
e0c00019ff
|
Implement line comments
|
2022-01-29 23:29:09 +01:00 |
|
|
|
35fbae8ab9
|
Implement multi statement code
- Add statements
- Add mandatory semicolons after statements
|
2022-01-29 23:18:15 +01:00 |
|
|
|
23d336d63e
|
Implement variables
- Assignment
- Declaration
- Identifier lexing
|
2022-01-29 22:49:15 +01:00 |
|
|
|
39dd5e81f2
|
Start implementing interpreter
- Implemented tree-walk-interpreter for expressions only
- Binops Add, Mul
- Value Types I64
|
2022-01-02 21:58:10 +01:00 |
|
|
|
541d905551
|
Start implementing Parser
- Implemented pratt parser for expressions
- Implemented BinOps Add, Mul
|
2022-01-02 21:03:14 +01:00 |
|
|
|
01729beb5f
|
Start implementing lexer
|
2022-01-02 18:44:05 +01:00 |
|