Wrote /root/JavaX-Caches/tmp_2080028693/main.java - 8058 bytes (written=8058, should be 8058) 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_840344797 /root/JavaX-Caches/tmp_2080028693/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_2080028693/main.java:1: error: class, interface, or enum expected bool debug; ^ /root/JavaX-Caches/tmp_2080028693/main.java:2: error: class, interface, or enum expected bool imagineMode; ^ /root/JavaX-Caches/tmp_2080028693/main.java:3: error: class, interface, or enum expected bool collectCheckingLog = true; ^ /root/JavaX-Caches/tmp_2080028693/main.java:4: error: class, interface, or enum expected new LinkedHashSet<S> imaginedFacts; ^ /root/JavaX-Caches/tmp_2080028693/main.java:5: error: class, interface, or enum expected LS checkingLog; ^ /root/JavaX-Caches/tmp_2080028693/main.java:6: error: class, interface, or enum expected long processingTime; ^ /root/JavaX-Caches/tmp_2080028693/main.java:7: error: class, interface, or enum expected new L<IfThen> activeTempRules; ^ /root/JavaX-Caches/tmp_2080028693/main.java:9: error: class, interface, or enum expected visualize { ^ /root/JavaX-Caches/tmp_2080028693/main.java:12: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2080028693/main.java:17: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2080028693/main.java:19: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2080028693/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2080028693/main.java:25: error: class, interface, or enum expected void _postMessage(S s) { postMessage(s); } ^ /root/JavaX-Caches/tmp_2080028693/main.java:29: error: illegal start of type new Map<S, Int> ruleScores; ^ /root/JavaX-Caches/tmp_2080028693/main.java:30: error: illegal start of type new LinkedHashSet<S> rewrittenInputs; ^ /root/JavaX-Caches/tmp_2080028693/main.java:31: error: illegal start of type new LinkedHashSet<S> newRewrittenInputs; ^ /root/JavaX-Caches/tmp_2080028693/main.java:33: error: illegal start of type new L<IfThen> rules; ^ /root/JavaX-Caches/tmp_2080028693/main.java:34: error: ';' expected replace Plan with PlanInMotion. ^ /root/JavaX-Caches/tmp_2080028693/main.java:34: error: ';' expected replace Plan with PlanInMotion. ^ /root/JavaX-Caches/tmp_2080028693/main.java:47: error: ';' expected temp tempSetThreadLocal(ai_context_tl(), new O { ^ /root/JavaX-Caches/tmp_2080028693/main.java:47: error: ';' expected temp tempSetThreadLocal(ai_context_tl(), new O { ^ /root/JavaX-Caches/tmp_2080028693/main.java:47: error: '(' or '[' expected temp tempSetThreadLocal(ai_context_tl(), new O { ^ /root/JavaX-Caches/tmp_2080028693/main.java:48: error: ';' expected LS getList(S var) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:48: error: ';' expected LS getList(S var) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:51: error: '(' or '[' expected new LS l; ^ /root/JavaX-Caches/tmp_2080028693/main.java:57: error: ';' expected IfThen getRule(S id) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:57: error: ';' expected IfThen getRule(S id) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:58: error: ';' expected ret findByField(rules, globalID := id); ^ /root/JavaX-Caches/tmp_2080028693/main.java:58: error: not a statement ret findByField(rules, globalID := id); ^ /root/JavaX-Caches/tmp_2080028693/main.java:58: error: ';' expected ret findByField(rules, globalID := id); ^ /root/JavaX-Caches/tmp_2080028693/main.java:58: error: illegal start of expression ret findByField(rules, globalID := id); ^ /root/JavaX-Caches/tmp_2080028693/main.java:58: error: ';' expected ret findByField(rules, globalID := id); ^ /root/JavaX-Caches/tmp_2080028693/main.java:60: error: illegal start of expression }); ^ /root/JavaX-Caches/tmp_2080028693/main.java:64: error: ';' expected temp tempAdd(hotwire_copyOver_after, voidfunc(Class c) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:64: error: not a statement temp tempAdd(hotwire_copyOver_after, voidfunc(Class c) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:64: error: ';' expected temp tempAdd(hotwire_copyOver_after, voidfunc(Class c) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:64: error: ')' expected temp tempAdd(hotwire_copyOver_after, voidfunc(Class c) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:64: error: not a statement temp tempAdd(hotwire_copyOver_after, voidfunc(Class c) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:64: error: ';' expected temp tempAdd(hotwire_copyOver_after, voidfunc(Class c) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:65: error: unclosed character literal copyFields(mc(), c, 'telegram_msg_tl, 'telegram_recentHistory_tl, 'ai_context_tl) ^ /root/JavaX-Caches/tmp_2080028693/main.java:65: error: not a statement copyFields(mc(), c, 'telegram_msg_tl, 'telegram_recentHistory_tl, 'ai_context_tl) ^ /root/JavaX-Caches/tmp_2080028693/main.java:65: error: ';' expected copyFields(mc(), c, 'telegram_msg_tl, 'telegram_recentHistory_tl, 'ai_context_tl) ^ /root/JavaX-Caches/tmp_2080028693/main.java:65: error: unclosed character literal copyFields(mc(), c, 'telegram_msg_tl, 'telegram_recentHistory_tl, 'ai_context_tl) ^ /root/JavaX-Caches/tmp_2080028693/main.java:65: error: not a statement copyFields(mc(), c, 'telegram_msg_tl, 'telegram_recentHistory_tl, 'ai_context_tl) ^ /root/JavaX-Caches/tmp_2080028693/main.java:65: error: ';' expected copyFields(mc(), c, 'telegram_msg_tl, 'telegram_recentHistory_tl, 'ai_context_tl) ^ /root/JavaX-Caches/tmp_2080028693/main.java:65: error: unclosed character literal copyFields(mc(), c, 'telegram_msg_tl, 'telegram_recentHistory_tl, 'ai_context_tl) ^ /root/JavaX-Caches/tmp_2080028693/main.java:65: error: not a statement copyFields(mc(), c, 'telegram_msg_tl, 'telegram_recentHistory_tl, 'ai_context_tl) ^ /root/JavaX-Caches/tmp_2080028693/main.java:65: error: ';' expected copyFields(mc(), c, 'telegram_msg_tl, 'telegram_recentHistory_tl, 'ai_context_tl) ^ /root/JavaX-Caches/tmp_2080028693/main.java:66: error: illegal start of expression }); ^ /root/JavaX-Caches/tmp_2080028693/main.java:73: error: ')' expected plan.add(r "!initiative" { ^ /root/JavaX-Caches/tmp_2080028693/main.java:74: error: not a statement if (!eq(input1, "!initiative")) ret; ^ /root/JavaX-Caches/tmp_2080028693/main.java:79: error: unclosed character literal if (nlLogic_isFunc(p.a, 'initiative)) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:79: error: not a statement if (nlLogic_isFunc(p.a, 'initiative)) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:79: error: ';' expected if (nlLogic_isFunc(p.a, 'initiative)) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:85: error: ';' expected ret with done(); ^ /root/JavaX-Caches/tmp_2080028693/main.java:88: error: ';' expected ret with done(); ^ /root/JavaX-Caches/tmp_2080028693/main.java:89: error: illegal start of expression }); ^ /root/JavaX-Caches/tmp_2080028693/main.java:91: error: ')' expected plan.add(r "!step" { ^ /root/JavaX-Caches/tmp_2080028693/main.java:92: error: '(' or '[' expected new Matches mm; ^ /root/JavaX-Caches/tmp_2080028693/main.java:93: error: not a statement if (!startsWith_trim(input1, "!step ", mm)) ret; ^ /root/JavaX-Caches/tmp_2080028693/main.java:95: error: illegal start of expression }); ^ /root/JavaX-Caches/tmp_2080028693/main.java:97: error: ')' expected runPlanWithCheck(plan, func -> bool { !done }); ^ /root/JavaX-Caches/tmp_2080028693/main.java:97: error: not a statement runPlanWithCheck(plan, func -> bool { !done }); ^ /root/JavaX-Caches/tmp_2080028693/main.java:97: error: ';' expected runPlanWithCheck(plan, func -> bool { !done }); ^ /root/JavaX-Caches/tmp_2080028693/main.java:97: error: illegal start of expression runPlanWithCheck(plan, func -> bool { !done }); ^ /root/JavaX-Caches/tmp_2080028693/main.java:98: error: not a statement if (done) ret; ^ /root/JavaX-Caches/tmp_2080028693/main.java:101: error: illegal start of type final new LS options; ^ /root/JavaX-Caches/tmp_2080028693/main.java:101: error: '(' or '[' expected final new LS options; ^ /root/JavaX-Caches/tmp_2080028693/main.java:113: error: '(' or '[' expected final NLLogicChecker_v3 c = new NLLogicChecker_v3 { ^ /root/JavaX-Caches/tmp_2080028693/main.java:114: error: ';' expected bool checkExpression_impl(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:114: error: ';' expected bool checkExpression_impl(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:114: error: not a statement bool checkExpression_impl(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:114: error: ';' expected bool checkExpression_impl(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:120: error: ';' expected ret telegram_amIAuthorized(); ^ /root/JavaX-Caches/tmp_2080028693/main.java:120: error: variable declaration not allowed here ret telegram_amIAuthorized(); ^ /root/JavaX-Caches/tmp_2080028693/main.java:122: error: variable declaration not allowed here ret imagineMode; ^ /root/JavaX-Caches/tmp_2080028693/main.java:121: error: 'else' without 'if' else if(eq(text, "imagineMode")) ^ /root/JavaX-Caches/tmp_2080028693/main.java:125: error: not a statement ret super.checkExpression_impl(e, m); ^ /root/JavaX-Caches/tmp_2080028693/main.java:125: error: ';' expected ret super.checkExpression_impl(e, m); ^ /root/JavaX-Caches/tmp_2080028693/main.java:129: error: ')' expected c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> O { evalExp(c, e, m) }; ^ /root/JavaX-Caches/tmp_2080028693/main.java:129: error: not a statement c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> O { evalExp(c, e, m) }; ^ /root/JavaX-Caches/tmp_2080028693/main.java:129: error: ';' expected c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> O { evalExp(c, e, m) }; ^ /root/JavaX-Caches/tmp_2080028693/main.java:129: error: ';' expected c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> O { evalExp(c, e, m) }; ^ /root/JavaX-Caches/tmp_2080028693/main.java:129: error: not a statement c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> O { evalExp(c, e, m) }; ^ /root/JavaX-Caches/tmp_2080028693/main.java:129: error: ';' expected c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> O { evalExp(c, e, m) }; ^ /root/JavaX-Caches/tmp_2080028693/main.java:129: error: ';' expected c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> O { evalExp(c, e, m) }; ^ /root/JavaX-Caches/tmp_2080028693/main.java:132: error: '(' or '[' expected checkingLog = new L; ^ /root/JavaX-Caches/tmp_2080028693/main.java:148: error: illegal start of type final new L<RuleWithParams> battleSpace; ^ /root/JavaX-Caches/tmp_2080028693/main.java:148: error: '(' or '[' expected final new L<RuleWithParams> battleSpace; ^ /root/JavaX-Caches/tmp_2080028693/main.java:151: error: ')' expected applyNLLogicFacts_v4(c, voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:151: error: not a statement applyNLLogicFacts_v4(c, voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:151: error: ';' expected applyNLLogicFacts_v4(c, voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:151: error: ';' expected applyNLLogicFacts_v4(c, voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) { ^ /root/JavaX-Caches/tmp_2080028693/main.java:155: error: illegal start of expression }, rules); ^ /root/JavaX-Caches/tmp_2080028693/main.java:155: error: not a statement }, rules); ^ /root/JavaX-Caches/tmp_2080028693/main.java:155: error: ';' expected }, rules); ^ /root/JavaX-Caches/tmp_2080028693/main.java:158: error: ')' expected + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_2080028693/main.java:158: error: not a statement + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_2080028693/main.java:158: error: ';' expected + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_2080028693/main.java:158: error: not a statement + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ 100 errors only showing the first 100 errors, of 142 total; use -Xmaxerrs if you would like to see more