[fine] The VM lives! We can test it a little!

This commit is contained in:
John Doty 2024-01-14 16:06:14 -08:00
parent 866830b485
commit 1eb7da77fc
8 changed files with 117 additions and 15 deletions

View file

@ -48,7 +48,7 @@ if true { "discarded"; 23 } else { 45 }
// | function << module >> (0 args, 0 locals):
// | strings (1):
// | 0: "discarded"
// | code (7):
// | code (8):
// | 0: PushTrue
// | 1: JumpFalse(6)
// | 2: PushString(0)
@ -56,4 +56,5 @@ if true { "discarded"; 23 } else { 45 }
// | 4: PushFloat(23.0)
// | 5: Jump(7)
// | 6: PushFloat(45.0)
// | 7: Return
// |