Commit Graph

26 Commits

Author SHA1 Message Date
420fd7b74b Implement block-level-expressions 2023-08-03 20:10:12 +03:00
413cd87a02 Add soft/hard returns 2023-08-03 20:08:20 +03:00
f22505be91 Add function calls and mult 2023-08-03 00:53:39 +03:00
4e89cd7355 Add more error raporting 2023-08-02 20:22:10 +03:00
9710406747 Fix error 2023-08-02 20:17:59 +03:00
91a6485d5a Add more error handling 2023-08-02 20:17:06 +03:00
9b7a31c988 Add errors for lexer and parser 2023-08-02 19:58:10 +03:00
c7f11e5091 Add errors, move compiling to examples 2023-08-02 19:17:57 +03:00
e9aab4f43e Use print to string instead of dump 2023-08-02 18:48:56 +03:00
2ced45eb40 Refactor 2023-08-02 18:43:47 +03:00
08909d76ee Fix warnings 2023-08-02 18:38:38 +03:00
9019e1e5a7 Split codegen properly 2023-08-02 18:37:31 +03:00
817b7c2096 Add Scope-struct 2023-08-02 18:29:20 +03:00
612b4d63a8 Reorganize code 2023-08-02 18:19:30 +03:00
297ff832b5 Remove comment 2023-08-02 17:03:21 +03:00
a196857dd6 Add simple codegen from actual AST 2023-08-02 17:03:06 +03:00
a9d5302774 Add blockexpr, possible paren to exp 2023-08-02 15:54:16 +03:00
9d7a63f25b Make return special for block 2023-08-02 15:34:20 +03:00
dca604a038 Add preliminary codegen, update parsing to require functions 2023-08-02 15:31:33 +03:00
17ab6a0cea Update gitignore 2023-08-02 01:03:19 +03:00
bda4fa4200 Move stuff around, add comment about compiling LLVM 2023-07-31 00:35:46 +03:00
42e74f49f8 Add function calls to parsing, also Top Level Expressions 2023-07-27 23:01:50 +03:00
ee14e18787 Add binop expression parsing 2023-07-27 22:25:13 +03:00
40f3738719 Add import statement parsing 2023-07-27 21:47:50 +03:00
6170eb0990 Add parser, token stream, successfully parse let statement 2023-07-27 21:17:44 +03:00
cca69976dd Add simple tokenizer for easiest.reid 2023-07-27 17:40:12 +03:00