Commit Graph

80 Commits

Author SHA1 Message Date
37d62d298e assemble risc to it's position (not itself)
So in the next step the interpreter can use positions as program counter
and would be much more like the real thing
2018-05-17 09:49:01 +03:00
9597fc5756 more slot tests, also in separate files 2018-05-16 12:49:46 +03:00
36e59ebdea some slot load tests 2018-05-16 12:35:44 +03:00
473866e76b start with some slot definition tests 2018-05-15 19:29:27 +03:00
ab4bc370ed another +1 bug 2018-05-15 16:25:55 +03:00
3c00239f36 another million index fixes 2018-05-14 15:17:04 +03:00
4a88f342d3 random checkin
still suffering -1 trauma
2018-05-14 12:38:44 +03:00
98f3898acd fix while tests 2018-04-20 10:27:06 +03:00
13d8a65e07 add while interpreter test 2018-04-19 19:23:12 +03:00
1849522a54 fix TruthCheck
mixing up the false and true, such a basic human mistake
2018-04-19 10:34:15 +03:00
3a50b7dd0e fix mod4 name
really did div4
2018-04-19 10:00:55 +03:00
d19bd5f98d fix dynamic jump
which gets dynamic resolve and call to work.
FIRST DYNAMIC CALL working
2018-04-09 15:06:46 +03:00
59e6298879 first resolved call running though
and returning an int, as it should
just the value .  .  .
2018-04-08 23:45:23 +03:00
fabe4db4f6 fix logic error in vool dynamic send
using receiver of current method
instead of receiver of next message
2018-04-08 22:59:42 +03:00
580c53cdae fix the resolve
without return and not being a function
2018-04-08 22:30:18 +03:00
8c322329fb fix builtin methods according to last commit 2018-04-08 18:52:17 +03:00
3c90eb31c6 fixes all but interpreter tests 2018-04-06 23:37:41 +03:00
eea92399ee concludes static message setup 2018-04-06 23:11:08 +03:00
1ddbde1191 return single message for "message" ie r0
other names, like next_message allocate  a new register
2018-04-06 22:54:54 +03:00
41d573d571 wrought one more instruction for message setup
now with dsl ready, should be faster
2018-04-06 20:58:58 +03:00
d52e14d201 continue to rewrite message_setup
message come from space already.
next types
2018-04-05 20:37:03 +03:00
f09086e524 unite the two resolve_to_index functions 2018-04-05 20:10:00 +03:00
cf6636ddda move (group) test files 2018-04-05 12:19:29 +03:00
0a075c0f8a fix tests (from changing MethodSetup) 2018-04-03 14:31:49 +03:00
65d57c8c7c removing unconditional
just Branch is fine
2018-04-02 19:30:34 +03:00
cb9f6973d9 fix true false and nil constant
going from mom to parfait
basics in place, more ripples to fix
2018-03-31 13:47:02 +03:00
ee8b9469af fix argument indexing
good old index bug, off by one
this time forgot about parfait 1-indexing
2018-03-30 20:01:31 +03:00
b997f01236 simple arg test
yields no insights
2018-03-30 18:13:17 +03:00
e68b28d66d fix helper
and start on arg test
2018-03-30 18:05:38 +03:00
3090ccffea keep risc and cpu instructions separate in method
that overwriting was a bit of thorn
2018-03-25 19:33:50 +03:00
de7e02b0b8 remove IsSame branch from risc
mixing up levels, IsSame is Mom
at risc this is a minus and Zero check
fix all tests
2018-03-24 18:54:36 +02:00
a407601f5c fix tests from NotSame removal 2018-03-24 18:33:19 +02:00
267237b776 fix init method message setup
was causing errors in interpreter
(that may have gone unnoticed in arm, as the interpreter checks stuff)
2018-03-24 15:59:54 +02:00
30d2cd3af7 fix test ripples from changing return sequence 2018-03-23 20:04:29 +02:00
f46c4d148e more return testing 2018-03-23 11:21:41 +02:00
55832315eb more fix for multilevel constant load
was ignoring first level which is already the second for a constant
as the constant is the first load.
first interpreter test working but looking dodgy
2018-03-22 19:14:22 +02:00
02c12996b3 return test for risc 2018-03-22 02:38:41 +05:30
ca3bf6acfa fix constants being passed down 2018-03-22 02:38:06 +05:30
01151b4ba7 make continue labels unique 2018-03-21 22:05:51 +05:30
e0dd4e0ad7 test dynamic call
made cache labels unique
2018-03-21 21:58:43 +05:30
f424e58715 finish the simple call
moving jump address
2018-03-21 19:29:00 +05:30
49880267bb start to test call
as per tdd noticing logic errors, have to swap message out
2018-03-21 19:20:51 +05:30
a9196e9cd6 implement simple_calls to_risc 2018-03-21 18:54:42 +05:30
fcbdba4804 simplify method entry exit codes
Basically just a label now
No more implicit returns (needs compiler tests)
Many return points is the new idea
Also setup is done before the enter by MessageSetup
2018-03-21 16:02:46 +05:30
12c71fa394 first go at message setups translation to risc
simplest possible implementation, ie the method and next_messages are
loaded many times.

But the layer design shines, it’s easy to understand
2018-03-21 12:20:55 +05:30
d9ce295b89 fix all tests from removing the receiver load 2018-03-20 23:31:42 +05:30
77084dc894 fix unconditional jump
and affected tests
2018-03-20 22:05:09 +05:30
c12830ee6d simple while risc conversion test 2018-03-20 16:32:07 +05:30
2c6ea7ea46 finish truth check (green again)
some (basic) if tests
2018-03-20 13:30:38 +05:30
c8980595a3 start to test if
truth check is only half done
2018-03-19 21:20:11 +05:30