Commit graph

276 commits

Author SHA1 Message Date
c0bf521b61 AST - Removed unused import, reformatted. 2022-12-31 10:13:51 +01:00
1e122c77a5 Parser - Comments 2022-12-31 10:12:11 +01:00
fc345f2ffb Parser - Parse expressions 2022-12-31 00:50:31 +01:00
faf50ea53e AST - Use Token.is_litteral() when dumping 2022-12-31 00:50:04 +01:00
ccc6fe0320 Token - is_litteral() method 2022-12-31 00:49:54 +01:00
984ba5f600 Scanner - Reformatted 2022-12-31 00:29:38 +01:00
1fe96bdbf7 Errors - Parser error structure 2022-12-31 00:28:49 +01:00
aab0e0a591 Scanner - Add the EOF token 2022-12-31 00:02:41 +01:00
ed03d565ea Parser - Created structure 2022-12-30 23:50:33 +01:00
8856d733ad AST - Expression node + dumper trait 2022-12-30 23:50:02 +01:00
912c7a265e Tokens - Stop complaining about EOF 2022-12-30 23:20:57 +01:00
c1025153d1 Scanner - Block comments w/ nesting 2022-12-30 20:19:00 +01:00
21778a745e Scanner - Support for identifiers and keywords 2022-12-30 20:11:08 +01:00
3ccbcbc1c2 Scanner - Numbers 2022-12-30 19:10:14 +01:00
75dd3a2db2 Scanner - String litterals 2022-12-30 18:40:56 +01:00
4e9e566a4f Main program - Reset REPL buffer before reading 2022-12-30 18:38:40 +01:00
6fad0fdfc4 Scanner - Slashes and whitespace 2022-12-30 18:28:36 +01:00
5af93af827 Scanner - Moved is_at_end() 2022-12-30 18:21:17 +01:00
8bdfbe59de Scanner - 2-character operators 2022-12-30 18:20:45 +01:00
5747e02107 Scanner - Single-character lexemes 2022-12-30 18:13:52 +01:00
124ffd883f Error handler in separate module + basic scanner module 2022-12-30 16:56:21 +01:00
987118be8b Token-related definitions 2022-12-30 16:47:30 +01:00
dcbb2681c1 Cargo.lock added 2022-12-30 16:33:55 +01:00
7b8f15e072 Error state information 2022-12-30 16:33:34 +01:00
9d485a8c63 Either load a script or run the REPL 2022-12-30 16:17:46 +01:00
437d2fa4fe Initial, empty project 2022-12-30 15:53:19 +01:00