Torsten Ruger
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
Torsten Ruger
349352faa9
minor
2015-10-16 13:12:52 +03:00
Torsten Ruger
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
Torsten Ruger
d8a5dc147b
new function test and scoping fix
2015-10-14 15:17:33 +03:00
Torsten Ruger
e33a20dd41
minor housekeeping
2015-10-14 13:48:42 +03:00
Torsten Ruger
f506f95cbf
fixing basic and field access to return register
...
as that is the new way, drop a layer, code to registers
2015-10-13 16:42:53 +03:00
Torsten Ruger
3c7c8dea92
add basic compiler tests
2015-10-10 12:29:52 +03:00
Torsten Ruger
c20ab21bbd
improve tests
2015-10-10 10:02:28 +03:00
Torsten Ruger
f4a4ccb98e
several larger changes came together, bit of cleaning too
...
- all code must be in functions (which must be in classes).
— changes a fair few tests
— also changes api, as method is not recursive, not passed around
- all state in instance vars in compiler (no accessors)
- class is another such variable, surely more coming
all green again
2015-10-06 00:27:13 +03:00
Torsten Ruger
5a2a857485
finish the field access
...
now that fields can be defined
2015-09-27 12:59:50 +03:00
Torsten Ruger
1f95d8994c
start testing that compile returns slot
2015-07-19 12:31:57 +03:00
Torsten Ruger
7ddee1c055
test binary creation
2015-07-19 11:52:43 +03:00
Torsten Ruger
7451493193
rearranging tests a little
2015-07-19 10:54:36 +03:00