Commit Graph

52 Commits (master)

Author SHA1 Message Date
Goren Barak 137d9f5884 Added src/codegen/holeybytes.rs. 2023-12-24 10:44:37 -05:00
Goren Barak e3cdfec0d9 Started working on a holeybytes backend. 2023-12-24 10:43:15 -05:00
Goren Barak 71ed4cea39 Made the frontend for math, actually, completely work. 2023-12-16 10:02:31 -05:00
Goren Barak 77eb521af4 Math works (more)! 2023-12-15 17:15:08 -05:00
Goren Barak ac72d8add8 Math works! 2023-12-15 17:11:58 -05:00
Goren Barak 626f1694f4 Made the backend work for math, working on the frontend 2023-12-15 14:51:09 -05:00
Goren Barak c83b131381 not compiling >:-( 2023-12-11 17:42:45 -05:00
Goren Barak 7d7bac18c6 Still incredibly buggy, but i need to commit something to git.
I'm going to fix the problem soon trust me :3
2023-12-09 15:35:48 -05:00
Goren Barak fba9dded42 Started implementing an operation queue. 2023-12-01 18:55:35 -05:00
Goren Barak dd1bc0b478 Hopefully made math recursively work and added `FasmCodegen` struct. 2023-12-01 16:58:35 -05:00
Goren Barak 1a8d7498e5 Merge branch 'recursive' 2023-11-30 13:01:12 -05:00
Goren Barak b4e60f09e5 Made the backend compile and be more recursive :3. 2023-11-30 12:55:41 -05:00
Goren Barak 6e7b286458 Added LICENSE file 2023-11-29 11:18:56 -05:00
Goren Barak db6d6a91a1 Fix things related to git. 2023-11-28 19:23:20 -05:00
Goren Barak fb098123d5 Did some work :p. 2023-11-28 19:20:05 -05:00
Goren Barak 1016345107 Did some things.
This reverts commit 102df4a531.
2023-11-28 19:16:23 -05:00
Goren Barak 102df4a531 Removed a minor syntax error. 2023-11-28 18:21:01 -05:00
Goren Barak cb89bc0e9a Made skylang more recursive. 2023-11-28 18:00:31 -05:00
Goren Barak 0b4e7deda0 Did some things to make it more recursive, but still doesn't compile 2023-11-28 17:57:43 -05:00
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 18063364c3 Added to the README. 2023-11-24 11:05:53 -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 ffb76dd38e i promise i (might) stop updated the readme now 2023-11-16 19:17:28 -05:00
Goren Barak 86e6e34510 updated readme (again lol) 2023-11-16 19:11:46 -05:00
Goren Barak fdcb87f4fb fixed issue with README 2023-11-16 19:06:44 -05:00
Goren Barak 55c493f350 updated readme 2023-11-16 19:05:34 -05:00
Goren Barak 7c3d913140 removed tags file. 2023-11-16 19:02:18 -05:00