Commit Graph

44 Commits

Author SHA1 Message Date
b1607eebc6 Evaluate arithmetic expressions 2023-07-06 01:11:00 -06:00
6459e39260 Fixed typo in RecordPattern.ToString 2023-07-05 10:24:03 -06:00
4f606e0e30 Allow arbitrary patterns as func params 2023-07-05 10:23:34 -06:00
eed952d154 Parse function bindings 2023-07-05 10:18:27 -06:00
4fe56dbdbc Removed commented code 2023-07-05 08:53:28 -06:00
d498cc627b Parse when-expressions 2023-07-05 08:52:14 -06:00
86a9241632 Removed unused consume overload 2023-07-02 17:09:34 -06:00
f43e0464b6 Parse record patterns 2023-07-02 17:07:46 -06:00
b5bdd95605 Parse let exprs with simple and variant patterns 2023-07-02 16:37:06 -06:00
ef3de7a707 Generate pattern-matching nodes 2023-07-02 14:56:50 -06:00
82d911d5dd Converted AST classes to records 2023-07-02 14:27:12 -06:00
04689beec3 FIxed null warnings 2023-07-02 13:19:42 -06:00
bd135f0203 Fix outdated expression rule in grammar 2023-07-02 12:27:53 -06:00
57cd5b3a9e Parse function calls 2023-07-02 12:05:46 -06:00
6f742ec577 Allow trailing comma in function call grammar 2023-07-02 12:05:39 -06:00
aca4f669ad Parse indexing expressions 2023-07-02 11:46:18 -06:00
5f9b4a2fb6 Allow trailing comma in list and record grammars 2023-07-02 11:39:37 -06:00
63edbae650 Parse record literals 2023-07-02 11:38:48 -06:00
5b0ca1ca6d Parse variants 2023-07-01 23:30:24 -06:00
8de88c0ce3 Parse list literals 2023-07-01 23:13:24 -06:00
6ab36fc489 Added some throwing stubs to parser 2023-07-01 00:26:32 -06:00
6fd622a573 Moved compound literals to primary in grammar 2023-07-01 00:26:11 -06:00
6f3c82cad1 Added identifiers and field selectors to grammar 2023-07-01 00:12:02 -06:00
9b2f0cb968 Removed pipeline and compose operators 2023-06-29 12:54:40 -06:00
f1b373c7e6 Added function calls and bindings to grammar 2023-06-29 11:33:32 -06:00
df0c370059 Added let-exprs to grammar, and fixed patterns 2023-06-29 10:55:13 -06:00
138508732f Added when expressions to grammar 2023-06-29 10:10:41 -06:00
e508d06b1a Finished specifying record grammar 2023-06-29 09:55:45 -06:00
c0767bc386 Rearrange control expression parsing 2023-06-28 17:25:28 -06:00
84a888738a Parse sequencing expressions 2023-06-28 17:18:31 -06:00
b72c6e9992 Parse string concatenation 2023-06-28 16:38:00 -06:00
ba5283694e Parse if-expressions 2023-06-28 16:26:08 -06:00
1264aca7f3 Added arbitrary-string idents to grammar 2023-06-28 16:06:44 -06:00
aa440742ca Added keyword for multi-binding let 2023-06-28 15:53:04 -06:00
3fbe0f482f Added partial draft of grammar doc 2023-06-28 15:52:39 -06:00
36a7b4dba3 Added strawman designs 2023-06-28 15:51:45 -06:00
77b1fab74f Parse a subset of expressions 2023-06-28 12:12:14 -06:00
b9b8c8e24b Added an AST printer 2023-06-26 13:47:31 -07:00
cbefb3cf40 Config dev environment for F# 2023-06-24 18:15:55 -07:00
e27c6c6165 Set up AST class generation 2023-06-24 18:15:37 -07:00
f3e99ee76d Use record syntax for Token 2023-06-08 08:16:32 -06:00
64fdd430be Debug with terminal to get interactive stdin 2023-06-08 08:01:21 -06:00
0d36ba4a52 Fix number parsing and add ++ operator 2023-06-08 08:00:26 -06:00
c991893f76 Lexer 2023-06-08 07:26:41 -06:00