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

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

/root/JavaX-Caches/tmp_562596296/main.java:1: error: class, interface, or enum expected bool debug; ^ /root/JavaX-Caches/tmp_562596296/main.java:2: error: class, interface, or enum expected bool imagineMode; ^ /root/JavaX-Caches/tmp_562596296/main.java:3: error: class, interface, or enum expected bool collectCheckingLog = true; ^ /root/JavaX-Caches/tmp_562596296/main.java:4: error: class, interface, or enum expected new LinkedHashSet<S> imaginedFacts; ^ /root/JavaX-Caches/tmp_562596296/main.java:5: error: class, interface, or enum expected LS checkingLog; ^ /root/JavaX-Caches/tmp_562596296/main.java:6: error: class, interface, or enum expected long processingTime; ^ /root/JavaX-Caches/tmp_562596296/main.java:7: error: class, interface, or enum expected new L<IfThen> activeTempRules; ^ /root/JavaX-Caches/tmp_562596296/main.java:9: error: class, interface, or enum expected visualize { ^ /root/JavaX-Caches/tmp_562596296/main.java:12: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_562596296/main.java:16: error: class, interface, or enum expected print("Eval'ing: " + code); ^ /root/JavaX-Caches/tmp_562596296/main.java:17: error: class, interface, or enum expected temp tempAdd(hotwire_copyOver_after, voidfunc(Class c) { ^ /root/JavaX-Caches/tmp_562596296/main.java:18: error: unclosed character literal copyFields(mc(), c, 'telegram_msg_tl, 'telegram_recentHistory_tl) ^ /root/JavaX-Caches/tmp_562596296/main.java:18: error: unclosed character literal copyFields(mc(), c, 'telegram_msg_tl, 'telegram_recentHistory_tl) ^ /root/JavaX-Caches/tmp_562596296/main.java:20: error: class, interface, or enum expected S result = str(evalWithDollarVars(code, m.matches)); ^ /root/JavaX-Caches/tmp_562596296/main.java:21: error: class, interface, or enum expected print("Result: " + shorten(result, 100)); ^ /root/JavaX-Caches/tmp_562596296/main.java:22: error: class, interface, or enum expected ret result; ^ /root/JavaX-Caches/tmp_562596296/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_562596296/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_562596296/main.java:30: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_562596296/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_562596296/main.java:36: error: class, interface, or enum expected void _postMessage(S s) { postMessage(s); } ^ /root/JavaX-Caches/tmp_562596296/main.java:40: error: illegal start of type new Map<S, Int> ruleScores; ^ /root/JavaX-Caches/tmp_562596296/main.java:41: error: illegal start of type new LinkedHashSet<S> rewrittenInputs; ^ /root/JavaX-Caches/tmp_562596296/main.java:42: error: illegal start of type new LinkedHashSet<S> newRewrittenInputs; ^ /root/JavaX-Caches/tmp_562596296/main.java:56: error: unclosed character literal if (nlLogic_isFunc(p.a, 'initiative)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:56: error: not a statement if (nlLogic_isFunc(p.a, 'initiative)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:56: error: ';' expected if (nlLogic_isFunc(p.a, 'initiative)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:62: error: not a statement ret; ^ /root/JavaX-Caches/tmp_562596296/main.java:65: error: not a statement ret; ^ /root/JavaX-Caches/tmp_562596296/main.java:73: error: '(' or '[' expected NLLogicChecker_v3 c = new NLLogicChecker_v3 { ^ /root/JavaX-Caches/tmp_562596296/main.java:74: error: ';' expected bool checkExpression_impl(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_562596296/main.java:74: error: ';' expected bool checkExpression_impl(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_562596296/main.java:74: error: not a statement bool checkExpression_impl(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_562596296/main.java:74: error: ';' expected bool checkExpression_impl(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_562596296/main.java:80: error: ';' expected ret telegram_amIAuthorized(); ^ /root/JavaX-Caches/tmp_562596296/main.java:80: error: variable declaration not allowed here ret telegram_amIAuthorized(); ^ /root/JavaX-Caches/tmp_562596296/main.java:82: error: variable declaration not allowed here ret imagineMode; ^ /root/JavaX-Caches/tmp_562596296/main.java:81: error: 'else' without 'if' else if(eq(text, "imagineMode")) ^ /root/JavaX-Caches/tmp_562596296/main.java:85: error: not a statement ret super.checkExpression_impl(e, m); ^ /root/JavaX-Caches/tmp_562596296/main.java:85: error: ';' expected ret super.checkExpression_impl(e, m); ^ /root/JavaX-Caches/tmp_562596296/main.java:89: error: ')' expected c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> S { evalExp(e, m) }; ^ /root/JavaX-Caches/tmp_562596296/main.java:89: error: not a statement c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> S { evalExp(e, m) }; ^ /root/JavaX-Caches/tmp_562596296/main.java:89: error: ';' expected c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> S { evalExp(e, m) }; ^ /root/JavaX-Caches/tmp_562596296/main.java:89: error: ';' expected c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> S { evalExp(e, m) }; ^ /root/JavaX-Caches/tmp_562596296/main.java:89: error: not a statement c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> S { evalExp(e, m) }; ^ /root/JavaX-Caches/tmp_562596296/main.java:89: error: ';' expected c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> S { evalExp(e, m) }; ^ /root/JavaX-Caches/tmp_562596296/main.java:89: error: ';' expected c.evaluator = func(Exp e, NLLogicChecker_v2.Matching m) -> S { evalExp(e, m) }; ^ /root/JavaX-Caches/tmp_562596296/main.java:92: error: '(' or '[' expected checkingLog = new L; ^ /root/JavaX-Caches/tmp_562596296/main.java:108: error: illegal start of type final new L<RuleWithParams> battleSpace; ^ /root/JavaX-Caches/tmp_562596296/main.java:108: error: '(' or '[' expected final new L<RuleWithParams> battleSpace; ^ /root/JavaX-Caches/tmp_562596296/main.java:111: error: ')' expected applyNLLogicFacts_v4(c, voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) { ^ /root/JavaX-Caches/tmp_562596296/main.java:111: error: not a statement applyNLLogicFacts_v4(c, voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) { ^ /root/JavaX-Caches/tmp_562596296/main.java:111: error: ';' expected applyNLLogicFacts_v4(c, voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) { ^ /root/JavaX-Caches/tmp_562596296/main.java:111: error: ';' expected applyNLLogicFacts_v4(c, voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) { ^ /root/JavaX-Caches/tmp_562596296/main.java:115: error: illegal start of expression }, rules); ^ /root/JavaX-Caches/tmp_562596296/main.java:115: error: not a statement }, rules); ^ /root/JavaX-Caches/tmp_562596296/main.java:115: error: ';' expected }, rules); ^ /root/JavaX-Caches/tmp_562596296/main.java:123: error: unclosed character literal fS msgGlobalID = getString(msg, 'globalID); ^ /root/JavaX-Caches/tmp_562596296/main.java:123: error: not a statement fS msgGlobalID = getString(msg, 'globalID); ^ /root/JavaX-Caches/tmp_562596296/main.java:123: error: ';' expected fS msgGlobalID = getString(msg, 'globalID); ^ /root/JavaX-Caches/tmp_562596296/main.java:149: error: ')' expected if (e cast Func) { ^ /root/JavaX-Caches/tmp_562596296/main.java:149: error: ';' expected if (e cast Func) { ^ /root/JavaX-Caches/tmp_562596296/main.java:149: error: variable declaration not allowed here if (e cast Func) { ^ /root/JavaX-Caches/tmp_562596296/main.java:151: error: unclosed character literal if (eqOneOf(name, 'output, 'say)) ^ /root/JavaX-Caches/tmp_562596296/main.java:151: error: not a statement if (eqOneOf(name, 'output, 'say)) ^ /root/JavaX-Caches/tmp_562596296/main.java:151: error: ';' expected if (eqOneOf(name, 'output, 'say)) ^ /root/JavaX-Caches/tmp_562596296/main.java:151: error: unclosed character literal if (eqOneOf(name, 'output, 'say)) ^ /root/JavaX-Caches/tmp_562596296/main.java:151: error: not a statement if (eqOneOf(name, 'output, 'say)) ^ /root/JavaX-Caches/tmp_562596296/main.java:151: error: ';' expected if (eqOneOf(name, 'output, 'say)) ^ /root/JavaX-Caches/tmp_562596296/main.java:153: error: unclosed character literal else if (eq(name, 'fact)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:153: error: 'else' without 'if' else if (eq(name, 'fact)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:153: error: not a statement else if (eq(name, 'fact)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:153: error: ';' expected else if (eq(name, 'fact)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:162: error: unclosed character literal } else if (eq(name, 'storeRule)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:162: error: 'else' without 'if' } else if (eq(name, 'storeRule)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:162: error: not a statement } else if (eq(name, 'storeRule)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:162: error: ';' expected } else if (eq(name, 'storeRule)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:168: error: unclosed character literal } else if (eq(name, 'imagineMode)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:168: error: 'else' without 'if' } else if (eq(name, 'imagineMode)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:168: error: not a statement } else if (eq(name, 'imagineMode)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:168: error: ';' expected } else if (eq(name, 'imagineMode)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:171: error: unclosed character literal } else if (eq(name, 'input)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:171: error: 'else' without 'if' } else if (eq(name, 'input)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:171: error: not a statement } else if (eq(name, 'input)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:171: error: ';' expected } else if (eq(name, 'input)) { ^ /root/JavaX-Caches/tmp_562596296/main.java:176: error: ';' expected ret with print("Skipping rule with unknown RHS func: " + e.name); ^ /root/JavaX-Caches/tmp_562596296/main.java:176: error: variable declaration not allowed here ret with print("Skipping rule with unknown RHS func: " + e.name); ^ /root/JavaX-Caches/tmp_562596296/main.java:175: error: 'else' without 'if' } else ^ /root/JavaX-Caches/tmp_562596296/main.java:178: error: ';' expected ret with print("Skipping rule with unknown RHS element: " + e); ^ /root/JavaX-Caches/tmp_562596296/main.java:178: error: variable declaration not allowed here ret with print("Skipping rule with unknown RHS element: " + e); ^ /root/JavaX-Caches/tmp_562596296/main.java:177: error: 'else' without 'if' } else ^ /root/JavaX-Caches/tmp_562596296/main.java:183: error: class, interface, or enum expected Pair<L<IfThen>, LS> getRulesAndFacts() { ^ /root/JavaX-Caches/tmp_562596296/main.java:185: error: class, interface, or enum expected } ^ 93 errors