Commit Graph

20 Commits

Author SHA1 Message Date
946db467ee Format code. 2018-07-28 17:53:07 -07:00
3f931c4a65 Implement some inline function. 2018-07-28 17:43:19 -07:00
75e031745b Add while loop 2018-07-28 17:43:05 -07:00
35b9c7651a Begin work on inline / builtin functions. 2018-07-28 16:17:06 -07:00
5e93fa1963 Format code. 2018-07-27 23:27:13 -07:00
c04997ad17 Prepare support for non-source code function. 2018-07-27 23:24:37 -07:00
774ab2f92e Refactor some code to split into functions and files. 2018-07-27 22:50:31 -07:00
cc82894454 Add support for binary generation. 2018-07-27 19:56:26 -07:00
99a47be826 Make IR closer to actual CHIP-8 2018-07-27 18:57:08 -07:00
8c63cbfb7b Fix register allocation and calling (somewhat) 2018-07-27 18:01:00 -07:00
23f95fe68c Intermediate commit. Remove type restrictions.
Code gen is very broken
2018-07-27 00:06:33 -07:00
3853d212b9 Add a basic CLI, and begin work on codegen. 2018-07-26 20:00:37 -07:00
fbb0da9e44 Use IO in print_visitor, and add to_s method. 2018-07-25 14:04:27 -07:00
df2a00fd66 Run the format tool. 2018-07-25 13:53:35 -07:00
fa00bda8ab Clean up parsing code. 2018-07-25 13:51:31 -07:00
c6319e7920 Create draft of parser in main code. 2018-07-24 23:57:20 -07:00
e57ca6c172 Add a basic tree data structure. 2018-07-24 17:30:10 -07:00
bffa9847d2 Implement basic parser and lexer. 2018-07-24 17:29:25 -07:00
380b12d02c Create a lexer. 2018-07-22 17:37:08 -07:00
3ea84f414a Initial commit. 2018-07-22 17:09:01 -07:00