Commit Graph

132 Commits (cb1c0d80f8717d33cdc698541c9fc0ccd4c09326)

Author SHA1 Message Date
Araozu cb1c0d80f8 Begin work on semantic analysis 2024-01-21 20:27:30 -05:00
Araozu 2184f7e654 Parse function parameters 2024-01-21 15:06:53 -05:00
Araozu a605d182b4 Codegen function call parameters 2024-01-11 19:36:11 -05:00
Araozu a6bff95d24 Parse function call parameters 2024-01-11 19:29:19 -05:00
Araozu eb3b755a3c (lazily) codegen parsed expressions. v0.0.9 (rebase) 2024-01-06 19:09:35 -05:00
Araozu 02f3c9aee6 Use expressions as a function call callable 2024-01-02 12:45:45 -05:00
Araozu 6b65cd4fd4 Simple codegen for function calls 2024-01-02 09:50:48 -05:00
Araozu 61de3b100f [Codegen] Minimal codegen for a Block 2024-01-02 07:06:46 -05:00
Araozu ef70bc1cc0 Minimal error display for syntax error 2024-01-02 06:32:56 -05:00
Araozu 6e2b7da22f Improve code display in error msg 2023-12-26 20:39:30 -05:00
Araozu 52bb445f90 Improve error messages for lexic errors 2023-12-24 19:43:51 -05:00
Araozu e0a33e22ba Re-enable REPL support 2023-12-23 18:55:21 -05:00
Araozu 2830a1befd Refactor Binding 2023-12-16 20:51:12 -05:00
Araozu 3e592392a8 Change syntax from val/var to let (mut) 2023-12-16 20:47:42 -05:00
Araozu 7379c469d3 Small changes 2023-12-16 20:35:24 -05:00
Araozu 498f8fb87f Re-enable compile command 2023-12-13 20:29:04 -05:00
Araozu 3d5c7769e6 Now every cli command handles its own arguments 2023-12-13 20:03:23 -05:00
Araozu 6c774f960a CLI help & empty commands 2023-12-13 06:33:32 -05:00
Araozu 09c267139d CLI help command 2023-12-12 21:24:12 -05:00
Araozu 2583c35f21 Use colored for CLI output 2023-12-12 20:58:09 -05:00
Araozu f6c1664816 Minimal CLI command & options parsing 2023-12-12 20:49:39 -05:00
Araozu 6399bd338c Remove clap & colored 2023-12-10 20:32:20 -05:00
Araozu 0337e4f5ff Define CLI interface 2023-12-09 20:04:44 -05:00
Araozu cae07fcc49 small changes 2023-12-09 19:23:03 -05:00
Araozu dcffe062a1 Parse binary operators 2023-11-21 21:40:11 -05:00
Araozu d4a633f7c0 Parse binary / * 2023-11-21 21:29:55 -05:00
Araozu a54abcc394 Structure for parsing operators. Parse unary operator 2023-11-21 21:02:50 -05:00
Araozu c045721f46 Change grammar to incorporate binary operators 2023-11-21 07:49:49 -05:00
Araozu c02e1c1f8e [Syntax] Parse function call inside a binding 2023-11-04 06:52:46 -05:00
Araozu 799cda1bf0 [Syntax] Refactor the expression parser to use ParseResult 2023-11-04 06:46:42 -05:00
Araozu e02a95f065 fix tests 2023-11-04 05:41:16 -05:00
Araozu 10eaa66a6d vscode 2023-10-14 06:14:13 -05:00
Araozu ed0e163283 [Syntax] Refactor binding parsing 2023-10-05 20:26:47 -05:00
Araozu f769a2ec1d tag 0.0.7 2023-10-05 06:56:21 -05:00
Araozu 18cbe2a8ab [Syntax] Parse var/val binding as statemente 2023-10-05 06:51:48 -05:00
Araozu 0630287e34 [Syntax] Parse function call as a statement 2023-10-05 06:31:24 -05:00
Araozu 9af450eaa0 Refactor 2023-10-01 18:41:00 -05:00
Araozu 971b9d9516 Parse minimal function call 2023-10-01 17:43:59 -05:00
Araozu c4d13e76bc Parse empty arguments list 2023-10-01 17:37:19 -05:00
Araozu 03b5a1b6de Start function call parsing 2023-10-01 17:18:28 -05:00
Araozu 2e9776de01 [syntax] refactor bindings 2023-09-24 18:51:08 -05:00
Araozu 1fbc353ebf Extract params list parsing 2023-09-21 20:52:55 -05:00
Araozu fec196d5aa Refactor function declaration parsing 2023-09-21 20:34:51 -05:00
Araozu 8bf24e3f1a Parse minimal block of code 2023-09-20 19:53:46 -05:00
Araozu bbd82b07c4 Tag 0.0.6 2023-09-19 20:42:03 -05:00
Araozu 6604632d9e [syntax] Ignore whitespace when parsing a function declaration 2023-09-19 20:30:49 -05:00
Araozu 807c46314b [syntax] Alternative function to expect tokens 2023-09-19 20:06:38 -05:00
Araozu 5dd104bcc9 Parse multiple top level declarations 2023-09-17 17:58:56 -05:00
Araozu 1bccb70c97 Emit DEDENT for each indentation level remaining at EOF 2023-09-17 13:58:45 -05:00
Araozu bd9e418ddd Emit a DEDENT for each indentation level decreased 2023-09-10 20:10:34 -05:00