made and and or operators short circuits

This commit is contained in:
cozis
2022-08-13 23:37:22 +02:00
parent 8565722bab
commit d24877c5f3
9 changed files with 240 additions and 120 deletions
+7 -1
View File
@@ -6,7 +6,13 @@
#bytecode
PUSHINT 1;
JUMPIFANDPOP true;
PUSHINT 2;
OR;
JUMPIFANDPOP true;
PUSHFLS;
JUMP end;
true:
PUSHTRU;
end:
POP 1;
RETURN 0;