Commit graph

24 commits

Author SHA1 Message Date
755052f531 Add unary negation 2022-01-23 01:20:34 +09:00
f77c1db22a Revert Lex.tokenize to be non-laxy 2022-01-22 03:04:16 +09:00
c2308d7939 Replace Token.(Values) with Token.Value of Ast.Value.t and add String type 2022-01-22 03:03:23 +09:00
2be0b7f794 Add let 2022-01-21 00:17:01 +09:00
5aaa261198 Add associativity control 2022-01-20 23:36:53 +09:00
e859d01683 Move parsers out of Parser.parse 2022-01-20 01:35:48 +09:00
7b9ccd1328 Add var table 2022-01-20 01:35:18 +09:00
7fd3917572 Add associativity table 2022-01-19 15:28:41 +09:00
856c2b359e Add ans 2022-01-19 14:17:04 +09:00
8e249614ee Rework Binary Expression Parser 2022-01-19 02:10:43 +09:00
aba76688be Refactor value 2022-01-18 16:52:33 +09:00
20e324f4c2 Improve operator lexing 2022-01-18 15:36:09 +09:00
4efb65c5cd Add float 2022-01-18 15:33:56 +09:00
61b70f02f1 Add error handling for Token_not_found 2022-01-17 15:21:47 +09:00
fd6bf1346e Lazy lexing 2022-01-17 15:21:27 +09:00
7d6c833e58 Rewrite token lexer 2022-01-17 15:17:18 +09:00
dd2a1e160e Add mod (working) and exp (not eval'ed yet) 2022-01-13 01:13:41 +09:00
0ec304cfdf Add texts to dune-project 2022-01-13 00:55:03 +09:00
b05605558c Refactor REPL 2022-01-13 00:54:40 +09:00
1fd0b30b41 Add parser combinators 2022-01-13 00:31:26 +09:00
6444f413ca Few things 2022-01-11 01:05:29 +09:00
dae562047c Add error handling 2022-01-11 00:45:25 +09:00
4e0d4dd9ac Replace GADTs to normal datatypes 2022-01-10 23:28:44 +09:00
472cf4bebe Initial Commit 2022-01-10 23:27:37 +09:00