-
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ovm2] Implement push/pop/unwind of the block stack.
fib_iterative.py now works! Also add continue_.py and make it work. - Fix bug in compare. Operands were reversed. - Implement BINARY_MODULO bytecode.
- Loading branch information
Andy Chu
committed
Nov 9, 2018
1 parent
345497e
commit a77cda0
Showing
3 changed files
with
85 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/python | ||
i = 0 | ||
while i < 20: | ||
i = i + 1 | ||
if i % 2 == 0: | ||
continue | ||
print(i) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters