-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
142 additions
and
111 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
Binary file not shown.
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
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
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 |
---|---|---|
@@ -1,7 +1,12 @@ | ||
counter = 0; | ||
while (counter<10) try { | ||
counter = counter + 1; | ||
if (counter % 2==0) | ||
return; | ||
print("Odd value: " + str(counter)); | ||
} | ||
method = new { | ||
final test1 = { | ||
print("test1"); | ||
} | ||
final test2 = { | ||
test1: | ||
print("test2"); | ||
} | ||
\call = test2; | ||
} | ||
|
||
method(); |
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 |
---|---|---|
@@ -1,27 +1,20 @@ | ||
BUILTIN _bb0 I0 | ||
IS counter _bb0 | ||
BUILTIN _bb2 I10 | ||
lt _bb1 counter _bb2 | ||
BEGIN _bb2 | ||
BEGIN _bb3 | ||
BEGIN _bb6 | ||
BUILTIN _bb8 I1 | ||
add _bb7 counter _bb8 | ||
IS counter _bb7 | ||
BEGIN _bb9 | ||
return _bbresult0 | ||
BUILTIN _bb4 "test1" | ||
print # _bb4 | ||
END | ||
BUILTIN _bb11 I0 | ||
BUILTIN _bb13 I2 | ||
mod _bb12 counter _bb13 | ||
eq _bb10 _bb12 _bb11 | ||
if # _bb10 _bb9 | ||
str _bb15 counter | ||
BUILTIN _bb16 "Odd value: " | ||
add _bb14 _bb16 _bb15 | ||
print # _bb14 | ||
IS test1 _bb3 | ||
final # test1 | ||
BEGIN _bb5 | ||
inline _bb6 test1 | ||
BUILTIN _bb7 "test2" | ||
print # _bb7 | ||
END | ||
try _bb4 _bb6 | ||
BUILTIN _bb2 I10 | ||
lt _bb1 counter _bb2 | ||
IS test2 _bb5 | ||
final # test2 | ||
IS \call test2 | ||
return _bbresult0 this | ||
END | ||
while # _bb1 _bb3 | ||
new _bb0 _bb2 | ||
IS method _bb0 | ||
call _bb8 # method |
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
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