Commit Graph

29 Commits

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