25 Commits

Author SHA1 Message Date
3dacee0be4 Implement debug print 2022-01-28 20:09:15 +01:00
d035724d20 Implement if else 2022-01-28 19:47:07 +01:00
24f5aa30ea Update README 2022-01-28 19:34:57 +01:00
2a014fd210 Implement while loop 2022-01-28 19:34:31 +01:00
788c4a8e82 Implement assignment as binop 2022-01-28 18:56:16 +01:00
7646177030 Implement variable declaration 2022-01-28 18:49:30 +01:00
b128b3357a Update grammar definition 2022-01-28 15:11:46 +01:00
4d5188d9d6 Implement relational binops
- Gt: Greater than
- Ge: Greater or equal
- Lt: Less than
- Le: Less or equal
2022-01-28 15:07:28 +01:00
e28a990b85 Update README 2022-01-28 14:58:21 +01:00
1f1f589dd4 Lex true/false as 1/0 2022-01-28 14:55:10 +01:00
6816392173 Implement equ, neq comparison 2022-01-28 14:46:55 +01:00
3c6fb5466e Implement unary negation 2022-01-28 14:21:57 +01:00
74dbf724a5 Implement parentheses grouping 2022-01-28 14:11:39 +01:00
807482583a Update grammar definition 2022-01-28 14:00:51 +01:00
7b86fecc6f Update README 2022-01-28 12:20:59 +01:00
6b91264f84 Implement more operators
- Mod
- Bitwise Or
- Bitwise And
- Bitwise Xor
- Shift Left
- Shift Right
2022-01-27 23:15:16 +01:00
d9246c7ea1 Implement div & sub 2022-01-27 22:29:06 +01:00
1c4943828f Number separator _ 2022-01-27 21:38:58 +01:00
7a69efc240 Add test for interpreter 2022-01-02 22:02:31 +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
ef4dee98dc Add test for parser 2022-01-02 21:28:36 +01:00
541d905551 Start implementing Parser
- Implemented pratt parser for expressions
- Implemented BinOps Add, Mul
2022-01-02 21:03:14 +01:00
02f63ad9ad Add test for lexer 2022-01-02 18:49:18 +01:00
01729beb5f Start implementing lexer 2022-01-02 18:44:05 +01:00
41348cf4c2 Initial commit 2022-01-02 18:43:30 +01:00