Wrote /root/JavaX-Caches/tmp_770106883/main.java - 9330 bytes (written=9330, should be 9330)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 11 -target 11 -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_671746463 /root/JavaX-Caches/tmp_770106883/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_770106883/main.java:1: error: class, interface, or enum expected
sclass AI_BottomUpParser1 {
^
/root/JavaX-Caches/tmp_770106883/main.java:3: error: class, interface, or enum expected
bool splitSplittables = true; // e.g. what's => what is
^
/root/JavaX-Caches/tmp_770106883/main.java:4: error: class, interface, or enum expected
S productionsText;
^
/root/JavaX-Caches/tmp_770106883/main.java:6: error: class, interface, or enum expected
L words;
^
/root/JavaX-Caches/tmp_770106883/main.java:7: error: class, interface, or enum expected
L rawWords;
^
/root/JavaX-Caches/tmp_770106883/main.java:8: error: class, interface, or enum expected
L cnc; // words + N tokens (null if unknown)
^
/root/JavaX-Caches/tmp_770106883/main.java:10: error: class, interface, or enum expected
new LinkedHashSet allObjects;
^
/root/JavaX-Caches/tmp_770106883/main.java:11: error: class, interface, or enum expected
long changes, iterations;
^
/root/JavaX-Caches/tmp_770106883/main.java:12: error: class, interface, or enum expected
new MultiMap productionsByA;
^
/root/JavaX-Caches/tmp_770106883/main.java:13: error: class, interface, or enum expected
new MultiMap subClasses;
^
/root/JavaX-Caches/tmp_770106883/main.java:14: error: class, interface, or enum expected
bool mergeGroupsInSamePosition = true;
^
/root/JavaX-Caches/tmp_770106883/main.java:15: error: class, interface, or enum expected
new HashMap groupsByPosition;
^
/root/JavaX-Caches/tmp_770106883/main.java:16: error: class, interface, or enum expected
bool verbose_callPlausibilityFunction;
^
/root/JavaX-Caches/tmp_770106883/main.java:17: error: class, interface, or enum expected
Map> categoriesAtWordIndex; // user can set categories for each token
^
/root/JavaX-Caches/tmp_770106883/main.java:18: error: class, interface, or enum expected
int maxDepth = 100;
^
/root/JavaX-Caches/tmp_770106883/main.java:19: error: class, interface, or enum expected
bool maxDepthReached;
^
/root/JavaX-Caches/tmp_770106883/main.java:22: error: class, interface, or enum expected
Runnable afterIteration, afterParse;
^
/root/JavaX-Caches/tmp_770106883/main.java:25: error: '(' expected
void update {}
^
/root/JavaX-Caches/tmp_770106883/main.java:28: error: not a statement
if (eq(get(this, field), value)) ret;
^
/root/JavaX-Caches/tmp_770106883/main.java:38: error: illegal start of type
*() {}
^
/root/JavaX-Caches/tmp_770106883/main.java:39: error: illegal start of type
*(S *ifClass, Runnable *action) {}
^
/root/JavaX-Caches/tmp_770106883/main.java:39: error: expected
*(S *ifClass, Runnable *action) {}
^
/root/JavaX-Caches/tmp_770106883/main.java:39: error: expected
*(S *ifClass, Runnable *action) {}
^
/root/JavaX-Caches/tmp_770106883/main.java:39: error: ';' expected
*(S *ifClass, Runnable *action) {}
^
/root/JavaX-Caches/tmp_770106883/main.java:39: error: expected
*(S *ifClass, Runnable *action) {}
^
/root/JavaX-Caches/tmp_770106883/main.java:45: error: illegal start of type
new LinkedHashSet prev;
^
/root/JavaX-Caches/tmp_770106883/main.java:46: error: illegal start of type
new LinkedHashSet next;
^
/root/JavaX-Caches/tmp_770106883/main.java:47: error: illegal start of type
new LinkedHashSet> constituents; // if group
^
/root/JavaX-Caches/tmp_770106883/main.java:48: error: illegal start of type
new L expectations;
^
/root/JavaX-Caches/tmp_770106883/main.java:49: error: illegal start of type
new L fulfilledExpectations;
^
/root/JavaX-Caches/tmp_770106883/main.java:50: error: illegal start of type
new TreeSet classes;
^
/root/JavaX-Caches/tmp_770106883/main.java:52: error: illegal start of type
new LinkedHashSet groups; // I am part of
^
/root/JavaX-Caches/tmp_770106883/main.java:53: error: illegal start of type
new L traits;
^
/root/JavaX-Caches/tmp_770106883/main.java:55: error: illegal start of type
*() {}
^
/root/JavaX-Caches/tmp_770106883/main.java:56: error: illegal start of type
*(S *text, int *wordFrom, int *wordTo) {
^
/root/JavaX-Caches/tmp_770106883/main.java:56: error: expected
*(S *text, int *wordFrom, int *wordTo) {
^
/root/JavaX-Caches/tmp_770106883/main.java:56: error: expected
*(S *text, int *wordFrom, int *wordTo) {
^
/root/JavaX-Caches/tmp_770106883/main.java:56: error: expected
*(S *text, int *wordFrom, int *wordTo) {
^
/root/JavaX-Caches/tmp_770106883/main.java:56: error: expected
*(S *text, int *wordFrom, int *wordTo) {
^
/root/JavaX-Caches/tmp_770106883/main.java:56: error: expected
*(S *text, int *wordFrom, int *wordTo) {
^
/root/JavaX-Caches/tmp_770106883/main.java:56: error: expected
*(S *text, int *wordFrom, int *wordTo) {
^
/root/JavaX-Caches/tmp_770106883/main.java:56: error: expected
*(S *text, int *wordFrom, int *wordTo) {
^
/root/JavaX-Caches/tmp_770106883/main.java:56: error: expected
*(S *text, int *wordFrom, int *wordTo) {
^
/root/JavaX-Caches/tmp_770106883/main.java:60: error: '(' expected
void update {
^
/root/JavaX-Caches/tmp_770106883/main.java:86: error: ';' expected
bool isGroup() { ret nempty(constituents); }
^
/root/JavaX-Caches/tmp_770106883/main.java:86: error: not a statement
bool isGroup() { ret nempty(constituents); }
^
/root/JavaX-Caches/tmp_770106883/main.java:86: error: ';' expected
bool isGroup() { ret nempty(constituents); }
^
/root/JavaX-Caches/tmp_770106883/main.java:89: error: not a statement
if (!classes.addAll(makeHull_optimized(subClasses, c))) false;
^
/root/JavaX-Caches/tmp_770106883/main.java:90: error: not a statement
change(); true;
^
/root/JavaX-Caches/tmp_770106883/main.java:105: error: ')' expected
set(t, w := this);
^
/root/JavaX-Caches/tmp_770106883/main.java:105: error: not a statement
set(t, w := this);
^
/root/JavaX-Caches/tmp_770106883/main.java:105: error: ';' expected
set(t, w := this);
^
/root/JavaX-Caches/tmp_770106883/main.java:109: error: expected
toString {
^
/root/JavaX-Caches/tmp_770106883/main.java:110: error: ';' expected
ret textAndClasses(this);
^
/root/JavaX-Caches/tmp_770106883/main.java:110: error: not a statement
ret textAndClasses(this);
^
/root/JavaX-Caches/tmp_770106883/main.java:110: error: ';' expected
ret textAndClasses(this);
^
/root/JavaX-Caches/tmp_770106883/main.java:113: error: ';' expected
bool hasClass(S c) { ret contains(classes, c); }
^
/root/JavaX-Caches/tmp_770106883/main.java:113: error: not a statement
bool hasClass(S c) { ret contains(classes, c); }
^
/root/JavaX-Caches/tmp_770106883/main.java:113: error: ';' expected
bool hasClass(S c) { ret contains(classes, c); }
^
/root/JavaX-Caches/tmp_770106883/main.java:113: error: not a statement
bool hasClass(S c) { ret contains(classes, c); }
^
/root/JavaX-Caches/tmp_770106883/main.java:113: error: ';' expected
bool hasClass(S c) { ret contains(classes, c); }
^
/root/JavaX-Caches/tmp_770106883/main.java:117: error: class, interface, or enum expected
Word makeGroup(Word a, Word b, S newClass) {
^
/root/JavaX-Caches/tmp_770106883/main.java:119: error: class, interface, or enum expected
Word g = null;
^
/root/JavaX-Caches/tmp_770106883/main.java:120: error: class, interface, or enum expected
if (mergeGroupsInSamePosition)
^
/root/JavaX-Caches/tmp_770106883/main.java:122: error: class, interface, or enum expected
else {
^
/root/JavaX-Caches/tmp_770106883/main.java:125: error: class, interface, or enum expected
for (Word _g : a.groups)
^
/root/JavaX-Caches/tmp_770106883/main.java:126: error: class, interface, or enum expected
if (contains(_g.constituents, list)) { g = _g; break; }
^
/root/JavaX-Caches/tmp_770106883/main.java:126: error: class, interface, or enum expected
if (contains(_g.constituents, list)) { g = _g; break; }
^
/root/JavaX-Caches/tmp_770106883/main.java:130: error: class, interface, or enum expected
if (g != null) {
^
/root/JavaX-Caches/tmp_770106883/main.java:132: error: class, interface, or enum expected
if (g.addClass(newClass)) {
^
/root/JavaX-Caches/tmp_770106883/main.java:136: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_770106883/main.java:143: error: class, interface, or enum expected
allObjects.add(g);
^
/root/JavaX-Caches/tmp_770106883/main.java:144: error: class, interface, or enum expected
if (mergeGroupsInSamePosition)
^
/root/JavaX-Caches/tmp_770106883/main.java:146: error: class, interface, or enum expected
g.addClass(newClass);
^
/root/JavaX-Caches/tmp_770106883/main.java:147: error: class, interface, or enum expected
g.constituents.add(list);
^
/root/JavaX-Caches/tmp_770106883/main.java:148: error: class, interface, or enum expected
for (Word w : list)
^
/root/JavaX-Caches/tmp_770106883/main.java:150: error: class, interface, or enum expected
g.prev.addAll(a.prev);
^
/root/JavaX-Caches/tmp_770106883/main.java:151: error: class, interface, or enum expected
g.next.addAll(b.next);
^
/root/JavaX-Caches/tmp_770106883/main.java:152: error: class, interface, or enum expected
for (Word prev : a.prev) prev.next.add(g);
^
/root/JavaX-Caches/tmp_770106883/main.java:153: error: class, interface, or enum expected
for (Word next : b.next) next.prev.add(g);
^
/root/JavaX-Caches/tmp_770106883/main.java:154: error: class, interface, or enum expected
ret g;
^
/root/JavaX-Caches/tmp_770106883/main.java:155: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_770106883/main.java:166: error: illegal start of type
*() {}
^
/root/JavaX-Caches/tmp_770106883/main.java:167: error: illegal start of type
*(S *linkWith, S *linkTo, S *plausibilityFunction) {}
^
/root/JavaX-Caches/tmp_770106883/main.java:167: error: expected
*(S *linkWith, S *linkTo, S *plausibilityFunction) {}
^
/root/JavaX-Caches/tmp_770106883/main.java:167: error: expected
*(S *linkWith, S *linkTo, S *plausibilityFunction) {}
^
/root/JavaX-Caches/tmp_770106883/main.java:167: error: ';' expected
*(S *linkWith, S *linkTo, S *plausibilityFunction) {}
^
/root/JavaX-Caches/tmp_770106883/main.java:167: error: expected
*(S *linkWith, S *linkTo, S *plausibilityFunction) {}
^
/root/JavaX-Caches/tmp_770106883/main.java:167: error: ';' expected
*(S *linkWith, S *linkTo, S *plausibilityFunction) {}
^
/root/JavaX-Caches/tmp_770106883/main.java:167: error: expected
*(S *linkWith, S *linkTo, S *plausibilityFunction) {}
^
/root/JavaX-Caches/tmp_770106883/main.java:169: error: '(' expected
void update {
^
/root/JavaX-Caches/tmp_770106883/main.java:172: error: ')' expected
next.addExpectation(new Expectation(linkWith, r {
^
/root/JavaX-Caches/tmp_770106883/main.java:173: error: illegal start of type
if (ai_parser_activateStandardFunctions_get() && plausibilityFunction != null) {
^
/root/JavaX-Caches/tmp_770106883/main.java:173: error: invalid method declaration; return type required
if (ai_parser_activateStandardFunctions_get() && plausibilityFunction != null) {
^
/root/JavaX-Caches/tmp_770106883/main.java:173: error: ';' expected
if (ai_parser_activateStandardFunctions_get() && plausibilityFunction != null) {
^
/root/JavaX-Caches/tmp_770106883/main.java:179: error: not a statement
ret;
^
/root/JavaX-Caches/tmp_770106883/main.java:181: error: invalid method declaration; return type required
makeGroup(w, next, linkTo)
^
/root/JavaX-Caches/tmp_770106883/main.java:181: error: expected
makeGroup(w, next, linkTo)
^
/root/JavaX-Caches/tmp_770106883/main.java:181: error: expected
makeGroup(w, next, linkTo)
^
/root/JavaX-Caches/tmp_770106883/main.java:181: error: expected
makeGroup(w, next, linkTo)
^
100 errors
only showing the first 100 errors, of 168 total; use -Xmaxerrs if you would like to see more