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

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

/root/JavaX-Caches/tmp_1959616948/main.java:1: error: class, interface, or enum expected sclass NLLogicChecker_v2 { ^ /root/JavaX-Caches/tmp_1959616948/main.java:3: error: class, interface, or enum expected new L<S> facts; ^ /root/JavaX-Caches/tmp_1959616948/main.java:4: error: class, interface, or enum expected new L<IfThen> rules; ^ /root/JavaX-Caches/tmp_1959616948/main.java:5: error: class, interface, or enum expected StringMatcher matcher = ai_standardMatcher(); ^ /root/JavaX-Caches/tmp_1959616948/main.java:6: error: class, interface, or enum expected new L<S> posted; ^ /root/JavaX-Caches/tmp_1959616948/main.java:7: error: class, interface, or enum expected new ThreadLocal<IfThen> checkingRule; ^ /root/JavaX-Caches/tmp_1959616948/main.java:8: error: class, interface, or enum expected VF2<O, Matching> onChecking; // first arg: IfThen or Exp ^ /root/JavaX-Caches/tmp_1959616948/main.java:9: error: class, interface, or enum expected VF3<O, Matching, O> onChecked; // first arg: IfThen or Exp, last arg: Bool or Throwable ^ /root/JavaX-Caches/tmp_1959616948/main.java:10: error: class, interface, or enum expected static bool staticVerbose; ^ /root/JavaX-Caches/tmp_1959616948/main.java:11: error: class, interface, or enum expected bool useIterate, allowUnsafeEvals = true; ^ /root/JavaX-Caches/tmp_1959616948/main.java:12: error: class, interface, or enum expected new HashMap<S, FuncChecker> funcCheckers; ^ /root/JavaX-Caches/tmp_1959616948/main.java:13: error: class, interface, or enum expected new HashMap<S, FuncIterator> funcIterators; ^ /root/JavaX-Caches/tmp_1959616948/main.java:14: error: class, interface, or enum expected S followingUpOn; ^ /root/JavaX-Caches/tmp_1959616948/main.java:16: error: class, interface, or enum expected List<Map> recentHistory; ^ /root/JavaX-Caches/tmp_1959616948/main.java:17: error: class, interface, or enum expected L<S> entities; ^ /root/JavaX-Caches/tmp_1959616948/main.java:18: error: class, interface, or enum expected F2<Exp, Matching, O> evaluator = func(Exp e, Matching m) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:20: error: class, interface, or enum expected if (!allowUnsafeEvals && !isSafeCodeFragment(code)) null; ^ /root/JavaX-Caches/tmp_1959616948/main.java:21: error: class, interface, or enum expected ret nlLogic_evalExp(NLLogicChecker_v2.this, code, m); ^ /root/JavaX-Caches/tmp_1959616948/main.java:22: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_1959616948/main.java:24: error: class, interface, or enum expected abstract sclass FuncChecker { ^ /root/JavaX-Caches/tmp_1959616948/main.java:25: error: class, interface, or enum expected abstract bool check(Func e, Matching m); ^ /root/JavaX-Caches/tmp_1959616948/main.java:26: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:28: error: class, interface, or enum expected abstract sclass FuncIterator { ^ /root/JavaX-Caches/tmp_1959616948/main.java:29: error: class, interface, or enum expected abstract void iterate(Func e, Matching m, Runnable onMatch); ^ /root/JavaX-Caches/tmp_1959616948/main.java:30: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:34: error: class, interface, or enum expected new L<Exp> output; ^ /root/JavaX-Caches/tmp_1959616948/main.java:36: error: class, interface, or enum expected bool verbose = staticVerbose; ^ /root/JavaX-Caches/tmp_1959616948/main.java:38: error: class, interface, or enum expected toString { ret sfu(matches) + "/" + sfu(output); } ^ /root/JavaX-Caches/tmp_1959616948/main.java:38: error: class, interface, or enum expected toString { ret sfu(matches) + "/" + sfu(output); } ^ /root/JavaX-Caches/tmp_1959616948/main.java:41: error: class, interface, or enum expected bool checkRule(final IfThen rule, final Matching m) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:41: error: class, interface, or enum expected bool checkRule(final IfThen rule, final Matching m) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:43: error: class, interface, or enum expected ret logCheck(rule, m, func -> Bool { checkRule_impl(rule, m) }); ^ /root/JavaX-Caches/tmp_1959616948/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:48: error: class, interface, or enum expected if (!checkExpression(rule.in, m)) false; ^ /root/JavaX-Caches/tmp_1959616948/main.java:49: error: class, interface, or enum expected m.output.add(apply(rule.out, m)); ^ /root/JavaX-Caches/tmp_1959616948/main.java:50: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_1959616948/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:56: error: class, interface, or enum expected ret checkFirstCondition(rule.in, m); ^ /root/JavaX-Caches/tmp_1959616948/main.java:57: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:61: error: class, interface, or enum expected if (p == null) ret pair(true, null); ^ /root/JavaX-Caches/tmp_1959616948/main.java:62: error: class, interface, or enum expected if (!checkExpression(p.a, m)) ret pair(false, null); ^ /root/JavaX-Caches/tmp_1959616948/main.java:63: error: class, interface, or enum expected ret pair(true, p.b); ^ /root/JavaX-Caches/tmp_1959616948/main.java:64: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:76: error: class, interface, or enum expected if (e cast And) ^ /root/JavaX-Caches/tmp_1959616948/main.java:78: error: class, interface, or enum expected if (e cast ExpNot) ^ /root/JavaX-Caches/tmp_1959616948/main.java:80: error: class, interface, or enum expected if (e cast Func) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:81: error: unclosed character literal if (contains(e.options, 'javaTokNoQuotes) && e.arg instanceof Sentence2) ^ /root/JavaX-Caches/tmp_1959616948/main.java:83: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1959616948/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:89: error: class, interface, or enum expected if (e cast Sentence2) ^ /root/JavaX-Caches/tmp_1959616948/main.java:92: error: class, interface, or enum expected ret e; ^ /root/JavaX-Caches/tmp_1959616948/main.java:93: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:97: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1959616948/main.java:99: error: class, interface, or enum expected callF(onChecked, o, m, result); ^ /root/JavaX-Caches/tmp_1959616948/main.java:100: error: class, interface, or enum expected ret result; ^ /root/JavaX-Caches/tmp_1959616948/main.java:101: error: class, interface, or enum expected } catch e { ^ /root/JavaX-Caches/tmp_1959616948/main.java:103: error: class, interface, or enum expected throw rethrow(e); ^ /root/JavaX-Caches/tmp_1959616948/main.java:104: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:107: error: class, interface, or enum expected final bool checkExpression(final Exp e, final Matching m) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:107: error: class, interface, or enum expected final bool checkExpression(final Exp e, final Matching m) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:107: error: class, interface, or enum expected final bool checkExpression(final Exp e, final Matching m) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:109: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:114: error: class, interface, or enum expected ret checkExpression_single(e, m); ^ /root/JavaX-Caches/tmp_1959616948/main.java:115: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:120: error: class, interface, or enum expected ret !checkExpression(e.a, m); ^ /root/JavaX-Caches/tmp_1959616948/main.java:121: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:123: error: unclosed character literal if (eq(e.name, 'input) && !cic(e.options, 'flexMatch)) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:123: error: unclosed character literal if (eq(e.name, 'input) && !cic(e.options, 'flexMatch)) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:125: error: class, interface, or enum expected if (contains(e.options, 're)) // regular expression ^ /root/JavaX-Caches/tmp_1959616948/main.java:125: error: unclosed character literal if (contains(e.options, 're)) // regular expression ^ /root/JavaX-Caches/tmp_1959616948/main.java:128: error: class, interface, or enum expected ret nlLogic_matchVBarPattern(this, pat, input, m); ^ /root/JavaX-Caches/tmp_1959616948/main.java:129: error: class, interface, or enum expected } else if (eq(e.name, "fact")) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:131: error: class, interface, or enum expected if (contains(e.options, "random")) ^ /root/JavaX-Caches/tmp_1959616948/main.java:133: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1959616948/main.java:135: error: class, interface, or enum expected } else if (eq(e.name, "allFacts")) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:137: error: class, interface, or enum expected L<VarMatches> l = nlLogic_matchAllFacts(this, pat, m); ^ /root/JavaX-Caches/tmp_1959616948/main.java:138: error: class, interface, or enum expected for i over l: { ^ /root/JavaX-Caches/tmp_1959616948/main.java:140: error: class, interface, or enum expected int n = i+1; ^ /root/JavaX-Caches/tmp_1959616948/main.java:141: error: class, interface, or enum expected for (S var, value : vars) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:143: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:146: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:149: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:151: error: class, interface, or enum expected AutoCloseable tempBackupMatches(final Matching m) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:152: error: class, interface, or enum expected final VarMatches oldMatches = new (m.matches); ^ /root/JavaX-Caches/tmp_1959616948/main.java:153: error: class, interface, or enum expected ret autocloseable { m.matches = oldMatches; }; ^ /root/JavaX-Caches/tmp_1959616948/main.java:153: error: class, interface, or enum expected ret autocloseable { m.matches = oldMatches; }; ^ /root/JavaX-Caches/tmp_1959616948/main.java:154: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:158: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1959616948/main.java:162: error: class, interface, or enum expected if (e cast Func) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:166: error: class, interface, or enum expected if (checker != null && checker.check(e, m)) true; ^ /root/JavaX-Caches/tmp_1959616948/main.java:168: error: class, interface, or enum expected if (eq(e.name, "singular")) ^ /root/JavaX-Caches/tmp_1959616948/main.java:170: error: class, interface, or enum expected else if (eq(e.name, 'entity)) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:170: error: unclosed character literal else if (eq(e.name, 'entity)) { ^ /root/JavaX-Caches/tmp_1959616948/main.java:173: error: class, interface, or enum expected fS switched = switcheroo(input); ^ /root/JavaX-Caches/tmp_1959616948/main.java:174: error: class, interface, or enum expected print("Switched >> " + switched); ^ /root/JavaX-Caches/tmp_1959616948/main.java:175: error: class, interface, or enum expected entities = evalWithTimeoutOrNull(5000, func -> LS { ^ /root/JavaX-Caches/tmp_1959616948/main.java:176: error: unclosed character literal mapMethod('text, ai_extractEntities_v1(switched)) ^ /root/JavaX-Caches/tmp_1959616948/main.java:178: error: class, interface, or enum expected print("Entities (" + elapsedMS(time) + " ms): " + joinWithComma(entities)); ^ 100 errors only showing the first 100 errors, of 238 total; use -Xmaxerrs if you would like to see more