Commit graph

24 commits

Author SHA1 Message Date
47607a04fb
parser: check error early 2021-04-26 18:40:57 +02:00
4cc7d17c99
val: implement Display 2021-04-26 18:39:52 +02:00
fbffb0f6ea
rename main 2021-04-26 18:38:44 +02:00
1506c0a4d4
lex: fix string literal escapes 2021-04-19 22:28:20 +02:00
ravi0li
8ac18073e7 remove unnecessary doc links 2021-04-19 22:00:21 +02:00
4e7cfca1f3
ast: implement literal and binary expressions 2021-04-19 20:33:55 +02:00
a0e09b9613
ast: implement base value type 2021-04-19 19:17:22 +02:00
e90589addd
lex: simplify iterator using pattern matching 2021-04-19 03:15:20 +02:00
d7aa47b621
update to CNPLv6 2021-04-18 23:08:24 +02:00
ba949fac32
restructure token design 2021-04-18 21:17:54 +02:00
60076379eb
improve readability and stuff idk and also rustfmt 2021-04-18 17:55:25 +02:00
ravi0li
01e9bd2a48 lex: add unary minus token 2021-04-18 17:33:45 +02:00
83441a7b57
parser: improve readability i guess 2021-04-15 01:51:58 +02:00
8489e430c4
parser: make it actually work 2021-04-14 00:03:19 +02:00
9a4793ae1c
parser: implement base structures 2021-04-13 21:03:02 +02:00
5ad4b649ce
lex: implement string escape chars 2021-04-13 17:43:16 +02:00
efe80cb930
lex: drop Windows line ending support again for now 2021-04-13 17:42:54 +02:00
ab4fa5f03f
lex: add Windows line ending support 2021-04-13 17:11:41 +02:00
bcbcec46a9
lex: use auto format for unexpected tokens 2021-04-13 17:04:44 +02:00
5baad95074
ffs 2021-04-13 17:03:16 +02:00
a165a40378
lex: implement core token set
it's not working yet but i don't give a fuck
2021-04-13 16:36:15 +02:00
356b843490
move lexer to separate module dir 2021-04-13 16:32:52 +02:00
c71d4081a7
add cursor helper 2021-04-13 16:29:37 +02:00
02f34832d9
initial commit uwu 2021-04-12 20:54:25 +02:00