Commit Graph

16 Commits

Author SHA1 Message Date
bb908dcf76 adding arg length to call sequence
and fix all the tests that affects
2015-10-27 16:21:11 +02:00
49b25ad971 fixed fragment tests 2015-10-27 11:00:48 +02:00
12e31f28c2 fix and test class definition 2015-10-25 12:31:35 +02:00
57f37ec023 removed blocks and moved to labels
somewhat easier to understand the code as a linked list
relatively painless change, considering
2015-10-23 21:27:36 +03:00
dcbd3c7091 fold last of the virtual into register 2015-10-22 18:16:29 +03:00
c68577c3f4 fixed more cases of empty block syndrome 2015-10-22 15:37:02 +03:00
b932f67da0 fixing tests
because interpreter was fixed
2015-10-22 14:51:20 +03:00
99cff3aa32 fix the if syntax and branches 2015-10-19 16:22:24 +03:00
50379a1fea update to new syntax and patch tests
basic semantics remain, but have to improve test for new functionality
that has to be written for new branch types
2015-10-19 15:31:48 +03:00
bdcd0f297d first interpreted tests, fix branch issues
whole branch logic wobbly
better syntax needed, but working(ish) for now
2015-10-19 14:46:12 +03:00
d767caf479 remove MethodCall and thus all virtual instructions 2015-10-18 19:27:46 +03:00
fa4949fc80 remove MethodEnter Instructions
only resolved to SaveReturn anyway
also Halt instruction wasn’t used, gone
passes changed to start at register
2015-10-18 17:39:35 +03:00
8bf1337043 Remove MethodReturn instruction
and pass
and fix all tests
move towards removing all vm instructions
2015-10-18 17:32:32 +03:00
dc3920580b bit more cleaning of testing 2015-10-16 18:34:54 +03:00
84eb516a01 add while statement tests 2015-10-16 13:17:02 +03:00
2094101bb2 clearer organization for compiler tests
was slightly messy with small/large
now needed different test for expression and statements
2015-10-14 21:49:05 +03:00