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

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

/root/JavaX-Caches/tmp_517771483/main.java:1: error: class, interface, or enum expected bool debug; ^ /root/JavaX-Caches/tmp_517771483/main.java:2: error: class, interface, or enum expected bool imagineMode; ^ /root/JavaX-Caches/tmp_517771483/main.java:3: error: class, interface, or enum expected bool collectCheckingLog = true; ^ /root/JavaX-Caches/tmp_517771483/main.java:4: error: class, interface, or enum expected new LinkedHashSet<S> imaginedFacts; ^ /root/JavaX-Caches/tmp_517771483/main.java:5: error: class, interface, or enum expected LS checkingLog; ^ /root/JavaX-Caches/tmp_517771483/main.java:6: error: class, interface, or enum expected long processingTime; ^ /root/JavaX-Caches/tmp_517771483/main.java:7: error: class, interface, or enum expected new L<IfThen> activeTempRules; ^ /root/JavaX-Caches/tmp_517771483/main.java:8: error: class, interface, or enum expected int evalTimeout = 20000; ^ /root/JavaX-Caches/tmp_517771483/main.java:10: error: class, interface, or enum expected void thinkAbout(S s) { ^ /root/JavaX-Caches/tmp_517771483/main.java:13: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_517771483/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_517771483/main.java:18: error: class, interface, or enum expected final new Thinking t; ^ /root/JavaX-Caches/tmp_517771483/main.java:19: error: class, interface, or enum expected final Map<S, O> tl = getMCThreadLocals(ai_staticVars()); ^ /root/JavaX-Caches/tmp_517771483/main.java:22: error: class, interface, or enum expected t.thinkAbout(input); ^ /root/JavaX-Caches/tmp_517771483/main.java:24: error: class, interface, or enum expected int n = 0; ^ /root/JavaX-Caches/tmp_517771483/main.java:25: error: class, interface, or enum expected do { ^ /root/JavaX-Caches/tmp_517771483/main.java:29: error: class, interface, or enum expected } while (!t.done); ^ /root/JavaX-Caches/tmp_517771483/main.java:31: error: class, interface, or enum expected activeTempRules.clear(); ^ /root/JavaX-Caches/tmp_517771483/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_517771483/main.java:34: error: class, interface, or enum expected void _postMessage(S s) { postMessage(s); } ^ /root/JavaX-Caches/tmp_517771483/main.java:38: error: illegal start of type new Map<S, Int> ruleScores; ^ /root/JavaX-Caches/tmp_517771483/main.java:39: error: illegal start of type new LinkedHashSet<S> rewrittenInputs; ^ /root/JavaX-Caches/tmp_517771483/main.java:40: error: illegal start of type new LinkedHashSet<S> newRewrittenInputs; ^ /root/JavaX-Caches/tmp_517771483/main.java:42: error: illegal start of type new L<IfThen> rules; ^ /root/JavaX-Caches/tmp_517771483/main.java:43: error: ';' expected replace Plan with PlanInMotion. ^ /root/JavaX-Caches/tmp_517771483/main.java:43: error: ';' expected replace Plan with PlanInMotion. ^ /root/JavaX-Caches/tmp_517771483/main.java:45: error: illegal start of type new HashSet<S> outputSet; ^ /root/JavaX-Caches/tmp_517771483/main.java:67: error: ')' expected plan.add(r "!initiative" { ^ /root/JavaX-Caches/tmp_517771483/main.java:68: error: not a statement if (!eq(input1, "!initiative")) ret; ^ /root/JavaX-Caches/tmp_517771483/main.java:73: error: unclosed character literal if (nlLogic_isFunc(p.a, 'initiative)) { ^ /root/JavaX-Caches/tmp_517771483/main.java:73: error: not a statement if (nlLogic_isFunc(p.a, 'initiative)) { ^ /root/JavaX-Caches/tmp_517771483/main.java:73: error: ';' expected if (nlLogic_isFunc(p.a, 'initiative)) { ^ /root/JavaX-Caches/tmp_517771483/main.java:79: error: ';' expected ret with done(); ^ /root/JavaX-Caches/tmp_517771483/main.java:82: error: ';' expected ret with done(); ^ /root/JavaX-Caches/tmp_517771483/main.java:83: error: illegal start of expression }); ^ /root/JavaX-Caches/tmp_517771483/main.java:85: error: ')' expected plan.add(r "!step" { ^ /root/JavaX-Caches/tmp_517771483/main.java:86: error: '(' or '[' expected new Matches mm; ^ /root/JavaX-Caches/tmp_517771483/main.java:87: error: not a statement if (!startsWith_trim(input1, "!step ", mm)) ret; ^ /root/JavaX-Caches/tmp_517771483/main.java:89: error: illegal start of expression }); ^ /root/JavaX-Caches/tmp_517771483/main.java:91: error: ')' expected runPlanWithCheck(plan, func -> bool { !done }); ^ /root/JavaX-Caches/tmp_517771483/main.java:91: error: not a statement runPlanWithCheck(plan, func -> bool { !done }); ^ /root/JavaX-Caches/tmp_517771483/main.java:91: error: ';' expected runPlanWithCheck(plan, func -> bool { !done }); ^ /root/JavaX-Caches/tmp_517771483/main.java:91: error: illegal start of expression runPlanWithCheck(plan, func -> bool { !done }); ^ /root/JavaX-Caches/tmp_517771483/main.java:92: error: not a statement if (done) ret; ^ /root/JavaX-Caches/tmp_517771483/main.java:97: error: illegal start of type final new LS options; ^ /root/JavaX-Caches/tmp_517771483/main.java:97: error: '(' or '[' expected final new LS options; ^ /root/JavaX-Caches/tmp_517771483/main.java:109: error: '(' or '[' expected final NLLogicChecker_v3 c = new NLLogicChecker_v3 { ^ /root/JavaX-Caches/tmp_517771483/main.java:110: error: ';' expected bool checkExpression_impl(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_517771483/main.java:110: error: ';' expected bool checkExpression_impl(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_517771483/main.java:110: error: not a statement bool checkExpression_impl(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_517771483/main.java:110: error: ';' expected bool checkExpression_impl(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_517771483/main.java:116: error: ';' expected ret telegram_amIAuthorized(); ^ /root/JavaX-Caches/tmp_517771483/main.java:116: error: variable declaration not allowed here ret telegram_amIAuthorized(); ^ /root/JavaX-Caches/tmp_517771483/main.java:118: error: variable declaration not allowed here ret imagineMode; ^ /root/JavaX-Caches/tmp_517771483/main.java:117: error: 'else' without 'if' else if(eq(text, "imagineMode")) ^ /root/JavaX-Caches/tmp_517771483/main.java:121: error: not a statement ret super.checkExpression_impl(e, m); ^ /root/JavaX-Caches/tmp_517771483/main.java:121: error: ';' expected ret super.checkExpression_impl(e, m); ^ /root/JavaX-Caches/tmp_517771483/main.java:126: error: '(' or '[' expected checkingLog = new L; ^ /root/JavaX-Caches/tmp_517771483/main.java:133: error: illegal start of expression rules = [IfThen r : rules | ai_ruleAccessesInput(r.originalText)]; ^ /root/JavaX-Caches/tmp_517771483/main.java:133: error: ';' expected rules = [IfThen r : rules | ai_ruleAccessesInput(r.originalText)]; ^ /root/JavaX-Caches/tmp_517771483/main.java:133: error: not a statement rules = [IfThen r : rules | ai_ruleAccessesInput(r.originalText)]; ^ /root/JavaX-Caches/tmp_517771483/main.java:133: error: ';' expected rules = [IfThen r : rules | ai_ruleAccessesInput(r.originalText)]; ^ /root/JavaX-Caches/tmp_517771483/main.java:143: error: illegal start of type final new L<RuleWithParams> battleSpace; ^ /root/JavaX-Caches/tmp_517771483/main.java:143: error: '(' or '[' expected final new L<RuleWithParams> battleSpace; ^ /root/JavaX-Caches/tmp_517771483/main.java:146: error: ')' expected applyNLLogicFacts_v4(c, voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) { ^ /root/JavaX-Caches/tmp_517771483/main.java:146: error: not a statement applyNLLogicFacts_v4(c, voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) { ^ /root/JavaX-Caches/tmp_517771483/main.java:146: error: ';' expected applyNLLogicFacts_v4(c, voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) { ^ /root/JavaX-Caches/tmp_517771483/main.java:146: error: ';' expected applyNLLogicFacts_v4(c, voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) { ^ /root/JavaX-Caches/tmp_517771483/main.java:150: error: illegal start of expression }, rules); ^ /root/JavaX-Caches/tmp_517771483/main.java:150: error: not a statement }, rules); ^ /root/JavaX-Caches/tmp_517771483/main.java:150: error: ';' expected }, rules); ^ /root/JavaX-Caches/tmp_517771483/main.java:153: error: ')' expected + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_517771483/main.java:153: error: not a statement + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_517771483/main.java:153: error: ';' expected + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_517771483/main.java:153: error: not a statement + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_517771483/main.java:153: error: ';' expected + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_517771483/main.java:153: error: not a statement + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_517771483/main.java:153: error: ';' expected + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_517771483/main.java:153: error: illegal start of expression + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_517771483/main.java:153: error: not a statement + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_517771483/main.java:153: error: ';' expected + (empty(battleSpace) ? "" : ": " + joinWithComma(map(func(RuleWithParams r) -> S { r.ruleID() + "/" + toInt(ruleScores.get(r.ruleID())) }, battleSpace)))); ^ /root/JavaX-Caches/tmp_517771483/main.java:160: error: unclosed character literal fS msgGlobalID = getString(msg, 'globalID); ^ /root/JavaX-Caches/tmp_517771483/main.java:160: error: not a statement fS msgGlobalID = getString(msg, 'globalID); ^ /root/JavaX-Caches/tmp_517771483/main.java:160: error: ';' expected fS msgGlobalID = getString(msg, 'globalID); ^ /root/JavaX-Caches/tmp_517771483/main.java:186: error: ')' expected if (e cast Func) { ^ /root/JavaX-Caches/tmp_517771483/main.java:186: error: ';' expected if (e cast Func) { ^ /root/JavaX-Caches/tmp_517771483/main.java:186: error: variable declaration not allowed here if (e cast Func) { ^ /root/JavaX-Caches/tmp_517771483/main.java:188: error: unclosed character literal if (eqOneOf(name, 'output, 'say)) ^ /root/JavaX-Caches/tmp_517771483/main.java:188: error: not a statement if (eqOneOf(name, 'output, 'say)) ^ /root/JavaX-Caches/tmp_517771483/main.java:188: error: ';' expected if (eqOneOf(name, 'output, 'say)) ^ /root/JavaX-Caches/tmp_517771483/main.java:188: error: unclosed character literal if (eqOneOf(name, 'output, 'say)) ^ /root/JavaX-Caches/tmp_517771483/main.java:188: error: not a statement if (eqOneOf(name, 'output, 'say)) ^ /root/JavaX-Caches/tmp_517771483/main.java:188: error: ';' expected if (eqOneOf(name, 'output, 'say)) ^ /root/JavaX-Caches/tmp_517771483/main.java:190: error: unclosed character literal else if (eq(name, 'fact)) { ^ /root/JavaX-Caches/tmp_517771483/main.java:190: error: 'else' without 'if' else if (eq(name, 'fact)) { ^ /root/JavaX-Caches/tmp_517771483/main.java:190: error: not a statement else if (eq(name, 'fact)) { ^ /root/JavaX-Caches/tmp_517771483/main.java:190: error: ';' expected else if (eq(name, 'fact)) { ^ /root/JavaX-Caches/tmp_517771483/main.java:199: error: unclosed character literal } else if (eq(name, 'storeRule)) { ^ /root/JavaX-Caches/tmp_517771483/main.java:199: error: 'else' without 'if' } else if (eq(name, 'storeRule)) { ^ /root/JavaX-Caches/tmp_517771483/main.java:199: error: not a statement } else if (eq(name, 'storeRule)) { ^ 100 errors only showing the first 100 errors, of 165 total; use -Xmaxerrs if you would like to see more