Wrote /root/JavaX-Caches/tmp_91424410/main.java - 1207 bytes (written=1207, should be 1207)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 1.8 -target 1.8 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_1798378389 /root/JavaX-Caches/tmp_91424410/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_91424410/main.java:1: error: class, interface, or enum expected
!752
^
/root/JavaX-Caches/tmp_91424410/main.java:4: error: class, interface, or enum expected
static S ifThenPattern = "If A then B.";
^
/root/JavaX-Caches/tmp_91424410/main.java:5: error: class, interface, or enum expected
static S fact = "John likes Paul.";
^
/root/JavaX-Caches/tmp_91424410/main.java:6: error: class, interface, or enum expected
static S toCheck = "John will greet Paul.";
^
/root/JavaX-Caches/tmp_91424410/main.java:8: error: class, interface, or enum expected
p {
^
/root/JavaX-Caches/tmp_91424410/main.java:10: error: class, interface, or enum expected
assertEquals(2, l(ruleVars.keySet()));
^
/root/JavaX-Caches/tmp_91424410/main.java:11: error: class, interface, or enum expected
printStructure(ruleVars);
^
/root/JavaX-Caches/tmp_91424410/main.java:12: error: class, interface, or enum expected
match(ifThenPattern, rule);
^
/root/JavaX-Caches/tmp_91424410/main.java:13: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_91424410/main.java:18: error: class, interface, or enum expected
matchImpl(pattern, vars, 0, input, 0);
^
/root/JavaX-Caches/tmp_91424410/main.java:19: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_91424410/main.java:25: error: class, interface, or enum expected
ret;
^
/root/JavaX-Caches/tmp_91424410/main.java:26: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_91424410/main.java:34: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_91424410/main.java:40: error: class, interface, or enum expected
int pos = 0;
^
/root/JavaX-Caches/tmp_91424410/main.java:41: error: class, interface, or enum expected
new MultiMap vars;
^
/root/JavaX-Caches/tmp_91424410/main.java:42: error: class, interface, or enum expected
for i over tok: {
^
/root/JavaX-Caches/tmp_91424410/main.java:44: error: class, interface, or enum expected
int nextPos = pos+l(t);
^
/root/JavaX-Caches/tmp_91424410/main.java:45: error: class, interface, or enum expected
if (l(t) == 1 && isUpperCaseLetter(t.charAt(0)))
^
/root/JavaX-Caches/tmp_91424410/main.java:47: error: class, interface, or enum expected
pos = nextPos;
^
/root/JavaX-Caches/tmp_91424410/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_91424410/main.java:50: error: class, interface, or enum expected
}
^
22 errors