Commit graph

28 commits

Author SHA1 Message Date
Goren Barak 4d4ab24382 Made parse_fun_call() work. 2023-11-26 10:17:09 -05:00
Goren Barak 1733535322 Created parse_value() function. 2023-11-25 19:00:00 -05:00
Goren Barak 5adf4396c7 Made the arrows cooler. 2023-11-25 18:53:15 -05:00
Goren Barak 37e6a85463 Put logic for parse_fun_call() in a comment. 2023-11-25 18:50:59 -05:00
Goren Barak c285d14f2e Allowed parsing of variable defenitions to AST. 2023-11-25 18:15:48 -05:00
Goren Barak 86e5a5a5ca Updated parse_var_declaration(). 2023-11-25 17:29:19 -05:00
Goren Barak db1bc88e7b explained myself 2023-11-24 18:42:19 -05:00
Goren Barak 94e7c083cd Changed name of TokenType to Token. 2023-11-24 18:40:54 -05:00
Goren Barak cfdb31ed7a Improved lexer :p 2023-11-24 13:23:19 -05:00
Goren Barak 503888bcee Started working on lexer. Temporarily using an external dependency. 2023-11-24 10:59:30 -05:00
Goren Barak 2f942d3371 Added if statements, and made Expr::Return work. 2023-11-24 09:56:49 -05:00
Goren Barak 325ae07f1c Fixed issue with macro (basically I wrote false when I needed to write true and vice versa) 2023-11-23 22:01:38 -05:00
Goren Barak 1a6089b2a9 Added more comments to the FASM codegen backend, to make it more readable. 2023-11-23 21:47:25 -05:00
Goren Barak d83b651931 Added comments for style. 2023-11-23 17:33:52 -05:00
Goren Barak e749f579a4 added return from procedure after function, and made FunCall.params a Vec<Value<'a> 2023-11-21 13:32:09 -05:00
Goren Barak fdb04a1a43 Fixed everything, removed compile time and logical errors. 2023-11-21 10:06:21 -05:00
Goren Barak d9bb758569 Added Math expressions to the Value enum. 2023-11-21 09:48:06 -05:00
Goren Barak 418955c622 Got function calls working! 2023-11-21 09:32:46 -05:00
Goren Barak 73b3d406eb Removed println!() from inside FASM codegen. 2023-11-19 17:41:51 -05:00
Goren Barak af2785eabf THIS DOES NOT COMPILE, but i still want to be open source 2023-11-19 17:33:17 -05:00
Goren Barak 518ce7b3ad Added Param object to Value enum 2023-11-18 08:27:30 -05:00
Goren Barak 60527bba91 fixed minor spelling mistake 2023-11-17 15:40:09 -05:00
Goren Barak ba3455fcff added breakpoint 2023-11-17 14:03:42 -05:00
Goren Barak d7c744bc77 added a Value type 2023-11-17 13:35:22 -05:00
Goren Barak 2f20415224 continued beefing up the backend 2023-11-17 11:06:46 -05:00
Goren Barak 55c493f350 updated readme 2023-11-16 19:05:34 -05:00
Goren Barak 4ed9e7064a added some more things to the backend 2023-11-16 19:01:52 -05:00
Goren Barak 043d7fcb0d some updates 2023-11-16 09:59:32 -05:00