-
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
Eddie
authored and
Eddie
committed
Jun 9, 2024
1 parent
c0896eb
commit 91ac078
Showing
28 changed files
with
368 additions
and
231 deletions.
There are no files selected for viewing
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 was deleted.
Oops, something went wrong.
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,11 @@ | ||
SEQUENCE | ||
MULTITASK | ||
LITERAL_STRING com.example.RunnableTask | ||
BLOCK | ||
SEQUENCE | ||
LITERAL_STRING Inline thread! | ||
; | ||
; | ||
; | ||
; |
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,12 @@ | ||
multitask "com.example.RunnableTaskOne" : { | ||
# Wait a little | ||
x = 999999 | ||
loop (greaterThan x 0) { | ||
x = - x 1 | ||
} | ||
print "thread!\n" | ||
} | ||
|
||
multitask "com.example.RunnableTaskTwo" : { | ||
print "Inline..." | ||
} |
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,19 @@ | ||
1 1 KEYWORD multitask | ||
1 10 SPACE | ||
1 11 TEXT com.example.RunnableTask | ||
1 37 SPACE | ||
1 38 COLON | ||
1 39 SPACE | ||
1 40 BRACKET_CURLY_OPEN | ||
1 41 NEWLINE | ||
2 1 SPACE | ||
2 2 SPACE | ||
2 3 SPACE | ||
2 4 SPACE | ||
2 5 KEYWORD print | ||
2 10 SPACE | ||
2 11 TEXT Inline thread! | ||
2 27 NEWLINE | ||
3 1 BRACKET_CURLY_CLOSE | ||
3 2 NEWLINE | ||
3 3 TERMINAL |
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
15 changes: 9 additions & 6 deletions
15
...om/jungle/compiler/MainMethodVisitor.java → .../jungle/compiler/JungleMethodVisitor.java
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
Oops, something went wrong.