-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the code to the part_16 Java package.
- Loading branch information
Showing
116 changed files
with
412 additions
and
956 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
2 changes: 1 addition & 1 deletion
2
...g/truffle/part_15/CountdownBenchmark.java → ...g/truffle/part_16/CountdownBenchmark.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
2 changes: 1 addition & 1 deletion
2
...truffle/part_15/CounterThisBenchmark.java → ...truffle/part_16/CounterThisBenchmark.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
2 changes: 1 addition & 1 deletion
2
...g/truffle/part_15/FibonacciBenchmark.java → ...g/truffle/part_16/FibonacciBenchmark.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
2 changes: 1 addition & 1 deletion
2
...ffle/part_15/InstanceMethodBenchmark.java → ...ffle/part_16/InstanceMethodBenchmark.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
2 changes: 1 addition & 1 deletion
2
...ruffle/part_15/StringLengthBenchmark.java → ...ruffle/part_16/StringLengthBenchmark.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
2 changes: 1 addition & 1 deletion
2
...log/truffle/part_15/TruffleBenchmark.java → ...log/truffle/part_16/TruffleBenchmark.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
2 changes: 1 addition & 1 deletion
2
...uffle/part_15/parsing/antlr/EasyScript.g4 → ...uffle/part_16/parsing/antlr/EasyScript.g4
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
6 changes: 3 additions & 3 deletions
6
...le/part_15/EasyScriptLanguageContext.java → ...le/part_16/EasyScriptLanguageContext.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
50 changes: 25 additions & 25 deletions
50
...le/part_15/EasyScriptTruffleLanguage.java → ...le/part_16/EasyScriptTruffleLanguage.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
2 changes: 1 addition & 1 deletion
2
...truffle/part_15/EasyScriptTypeSystem.java → ...truffle/part_16/EasyScriptTypeSystem.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
2 changes: 1 addition & 1 deletion
2
...m/endoflineblog/truffle/part_15/Main.java → ...m/endoflineblog/truffle/part_16/Main.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
4 changes: 2 additions & 2 deletions
4
...uffle/part_15/common/DeclarationKind.java → ...uffle/part_16/common/DeclarationKind.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
4 changes: 2 additions & 2 deletions
4
...uffle/part_15/common/ErrorPrototypes.java → ...uffle/part_16/common/ErrorPrototypes.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
2 changes: 1 addition & 1 deletion
2
...t_15/common/LocalVariableFrameSlotId.java → ...t_16/common/LocalVariableFrameSlotId.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
8 changes: 4 additions & 4 deletions
8
...e/part_15/common/ShapesAndPrototypes.java → ...e/part_16/common/ShapesAndPrototypes.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
4 changes: 2 additions & 2 deletions
4
...le/part_15/exceptions/BreakException.java → ...le/part_16/exceptions/BreakException.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package com.endoflineblog.truffle.part_15.exceptions; | ||
package com.endoflineblog.truffle.part_16.exceptions; | ||
|
||
import com.oracle.truffle.api.nodes.ControlFlowException; | ||
|
||
/** | ||
* The exception used to implement the {@code break} statement. | ||
* Identical to the class with the same name from part 15. | ||
* | ||
* @see com.endoflineblog.truffle.part_15.nodes.stmts.controlflow.BreakStmtNode | ||
* @see com.endoflineblog.truffle.part_16.nodes.stmts.controlflow.BreakStmtNode | ||
*/ | ||
public final class BreakException extends ControlFlowException { | ||
} |
4 changes: 2 additions & 2 deletions
4
...part_15/exceptions/ContinueException.java → ...part_16/exceptions/ContinueException.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package com.endoflineblog.truffle.part_15.exceptions; | ||
package com.endoflineblog.truffle.part_16.exceptions; | ||
|
||
import com.oracle.truffle.api.nodes.ControlFlowException; | ||
|
||
/** | ||
* The exception used to implement the {@code continue} statement. | ||
* Identical to the class with the same name from part 15. | ||
* | ||
* @see com.endoflineblog.truffle.part_15.nodes.stmts.controlflow.ContinueStmtNode | ||
* @see com.endoflineblog.truffle.part_16.nodes.stmts.controlflow.ContinueStmtNode | ||
*/ | ||
public final class ContinueException extends ControlFlowException { | ||
} |
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
4 changes: 2 additions & 2 deletions
4
...e/part_15/exceptions/ReturnException.java → ...e/part_16/exceptions/ReturnException.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
6 changes: 3 additions & 3 deletions
6
...truffle/part_15/nodes/EasyScriptNode.java → ...truffle/part_16/nodes/EasyScriptNode.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
2 changes: 1 addition & 1 deletion
2
.../nodes/exprs/BinaryOperationExprNode.java → .../nodes/exprs/BinaryOperationExprNode.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
6 changes: 3 additions & 3 deletions
6
...exprs/DynamicObjectReferenceExprNode.java → ...exprs/DynamicObjectReferenceExprNode.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
16 changes: 8 additions & 8 deletions
16
...rt_15/nodes/exprs/EasyScriptExprNode.java → ...rt_16/nodes/exprs/EasyScriptExprNode.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
6 changes: 3 additions & 3 deletions
6
...odes/exprs/GlobalScopeObjectExprNode.java → ...odes/exprs/GlobalScopeObjectExprNode.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
10 changes: 5 additions & 5 deletions
10
...es/exprs/arithmetic/AdditionExprNode.java → ...es/exprs/arithmetic/AdditionExprNode.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
4 changes: 2 additions & 2 deletions
4
...es/exprs/arithmetic/NegationExprNode.java → ...es/exprs/arithmetic/NegationExprNode.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
4 changes: 2 additions & 2 deletions
4
...exprs/arithmetic/SubtractionExprNode.java → ...exprs/arithmetic/SubtractionExprNode.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
12 changes: 6 additions & 6 deletions
12
.../exprs/arrays/ArrayIndexReadExprNode.java → .../exprs/arrays/ArrayIndexReadExprNode.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
10 changes: 5 additions & 5 deletions
10
...exprs/arrays/ArrayIndexWriteExprNode.java → ...exprs/arrays/ArrayIndexWriteExprNode.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
8 changes: 4 additions & 4 deletions
8
...es/exprs/arrays/ArrayLiteralExprNode.java → ...es/exprs/arrays/ArrayLiteralExprNode.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
6 changes: 3 additions & 3 deletions
6
...s/exprs/comparisons/EqualityExprNode.java → ...s/exprs/comparisons/EqualityExprNode.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
Oops, something went wrong.