Skip to content

Commit

Permalink
[java-truffle] step E: inlining macros
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcgill authored and kanaka committed May 31, 2021
1 parent 22a18d3 commit 4f500ca
Show file tree
Hide file tree
Showing 3 changed files with 889 additions and 1 deletion.
2 changes: 1 addition & 1 deletion impls/java-truffle/run
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ java \
--add-opens org.graalvm.truffle/com.oracle.truffle.api.interop=ALL-UNNAMED \
--add-opens org.graalvm.truffle/com.oracle.truffle.api.nodes=ALL-UNNAMED \
-classpath $CP \
truffle.mal.${STEP:-stepA_mal} "$@"
truffle.mal.${STEP:-stepE_macros} "$@"
2 changes: 2 additions & 0 deletions impls/java-truffle/src/main/java/truffle/mal/Types.java
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,8 @@ public MalMap withMeta(Object meta) {

@ExportLibrary(InteropLibrary.class)
class MalKeyword extends MalValue implements TruffleObject {
public static final MalKeyword INLINE_Q = MalKeyword.get("inline?");

public final String keyword;

public static MalKeyword get(String keyword) {
Expand Down
Loading

0 comments on commit 4f500ca

Please sign in to comment.