cleanups and more test cases

This commit is contained in:
cozis
2022-08-12 05:30:41 +02:00
parent f630830b3c
commit 18e936f0ad
145 changed files with 1445 additions and 234 deletions
+24
View File
@@ -0,0 +1,24 @@
#source
do {
true;
"Hello, world!";
break;
} while none;
false;
#bytecode
begin:
PUSHTRU;
POP 1;
PUSHSTR "Hello, world!";
POP 1;
JUMP end;
PUSHNNE;
JUMPIFANDPOP begin;
end:
PUSHFLS;
POP 1;
RETURN 0;