Wrote /root/JavaX-Caches/tmp_1110616000/main.java - 2969 bytes (written=2969, should be 2969)
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_1652886095 /root/JavaX-Caches/tmp_1110616000/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1110616000/main.java:1: error: class, interface, or enum expected
static L dm_gazelle_reasonAboutChatInput(S userName, S content, O... _) {
^
/root/JavaX-Caches/tmp_1110616000/main.java:3: error: class, interface, or enum expected
bool selfVarsFix = boolPar selfVarsFix(_, true);
^
/root/JavaX-Caches/tmp_1110616000/main.java:4: error: class, interface, or enum expected
GazelleEvalContext ctx = optPar ctx(_);
^
/root/JavaX-Caches/tmp_1110616000/main.java:5: error: class, interface, or enum expected
if (ctx == null) ctx = dm_gazelle_stdEvalContext(dm_gazelle_allRulesWithComment(optPar requiredComment(_, "discord")));
^
/root/JavaX-Caches/tmp_1110616000/main.java:8: error: class, interface, or enum expected
ctx.engine.dropRulesWhere(r -> cicOneOf(r.comments, "in 1 = statement", "in = statement"));
^
/root/JavaX-Caches/tmp_1110616000/main.java:9: error: class, interface, or enum expected
if (debug) print("Have rules: " + collect globalID(ctx.engine.rules));
^
/root/JavaX-Caches/tmp_1110616000/main.java:11: error: class, interface, or enum expected
gazelle_addHelperTablesToRules(ctx.engine);
^
/root/JavaX-Caches/tmp_1110616000/main.java:13: error: class, interface, or enum expected
GazelleTree tree1 = new(ctx, content);
^
/root/JavaX-Caches/tmp_1110616000/main.java:14: error: class, interface, or enum expected
L l = dm_gazelle_getChildren(tree1, firstConditionOnly := true);
^
/root/JavaX-Caches/tmp_1110616000/main.java:16: error: class, interface, or enum expected
GazelleTree tree2 = new(ctx, optCurly(userName) + " says: " + content);
^
/root/JavaX-Caches/tmp_1110616000/main.java:17: error: class, interface, or enum expected
l.addAll(dm_gazelle_getChildren(tree2, firstConditionOnly := true));
^
/root/JavaX-Caches/tmp_1110616000/main.java:19: error: class, interface, or enum expected
if (boolPar skipBad(_, true)) l = [GazelleTree t : l | neq(t.prediction, 'bad)];
^
/root/JavaX-Caches/tmp_1110616000/main.java:19: error: unclosed character literal
if (boolPar skipBad(_, true)) l = [GazelleTree t : l | neq(t.prediction, 'bad)];
^
/root/JavaX-Caches/tmp_1110616000/main.java:20: error: class, interface, or enum expected
gazelle_sortChildren(l);
^
/root/JavaX-Caches/tmp_1110616000/main.java:22: error: class, interface, or enum expected
for (GazelleTree t : l)
^
/root/JavaX-Caches/tmp_1110616000/main.java:25: error: class, interface, or enum expected
LS in = t.rule().in;
^
/root/JavaX-Caches/tmp_1110616000/main.java:26: error: class, interface, or enum expected
int iCond = t.mr.iCond;
^
/root/JavaX-Caches/tmp_1110616000/main.java:27: error: class, interface, or enum expected
if (l(in) > iCond) {
^
/root/JavaX-Caches/tmp_1110616000/main.java:29: error: class, interface, or enum expected
print("Remaining conditions for " + t.ruleID() + " with " + t.mr.map + ": " + conditions);
^
/root/JavaX-Caches/tmp_1110616000/main.java:30: error: class, interface, or enum expected
new Matches m;
^
/root/JavaX-Caches/tmp_1110616000/main.java:31: error: class, interface, or enum expected
if (!matchAny("in " + (iCond+1) + " = statement *", t.rule().comments, m))
^
/root/JavaX-Caches/tmp_1110616000/main.java:33: error: class, interface, or enum expected
S subRuleID = $1;
^
/root/JavaX-Caches/tmp_1110616000/main.java:34: error: class, interface, or enum expected
print("Found subrule: " + subRuleID);
^
/root/JavaX-Caches/tmp_1110616000/main.java:35: error: class, interface, or enum expected
L fulfillments = dm_gazelle_fulfillmentsForRule(subRuleID);
^
/root/JavaX-Caches/tmp_1110616000/main.java:36: error: class, interface, or enum expected
print("Have fulfillments:");
^
/root/JavaX-Caches/tmp_1110616000/main.java:37: error: class, interface, or enum expected
for (O f : fulfillments) {
^
/root/JavaX-Caches/tmp_1110616000/main.java:39: error: class, interface, or enum expected
printIndent(sfu(varMap));
^
/root/JavaX-Caches/tmp_1110616000/main.java:42: error: class, interface, or enum expected
if (selfVarsFix) {
^
/root/JavaX-Caches/tmp_1110616000/main.java:44: error: class, interface, or enum expected
for (S x : identifiersOnly(codeTokens(mr.tokenize(cond))))
^
/root/JavaX-Caches/tmp_1110616000/main.java:47: error: class, interface, or enum expected
varMap.put(x, x);
^
/root/JavaX-Caches/tmp_1110616000/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1110616000/main.java:52: error: class, interface, or enum expected
if (newMap == null)
^
/root/JavaX-Caches/tmp_1110616000/main.java:54: error: class, interface, or enum expected
printIndent("Maps merged! => " + sfu(newMap));
^
/root/JavaX-Caches/tmp_1110616000/main.java:55: error: class, interface, or enum expected
t.mr.map = newMap;
^
/root/JavaX-Caches/tmp_1110616000/main.java:56: error: class, interface, or enum expected
t.mr.iCond++;
^
/root/JavaX-Caches/tmp_1110616000/main.java:57: error: class, interface, or enum expected
t.mr.remainingConditions = dropFirst(t.mr.remainingConditions); // XX: also should rewrite with new vars
^
/root/JavaX-Caches/tmp_1110616000/main.java:58: error: class, interface, or enum expected
t.mr.remainingConditionsWithType = dropFirst(t.mr.remainingConditionsWithType);
^
/root/JavaX-Caches/tmp_1110616000/main.java:59: error: class, interface, or enum expected
t.mr.out = null;
^
/root/JavaX-Caches/tmp_1110616000/main.java:60: error: class, interface, or enum expected
t.line = t.mr.outText();
^
/root/JavaX-Caches/tmp_1110616000/main.java:61: error: class, interface, or enum expected
print("Rewrote " + t.mr.rule.out + " to: " + t.line);
^
/root/JavaX-Caches/tmp_1110616000/main.java:62: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_1110616000/main.java:63: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1110616000/main.java:70: error: class, interface, or enum expected
ret l;
^
/root/JavaX-Caches/tmp_1110616000/main.java:71: error: class, interface, or enum expected
}
^
44 errors