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

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

/root/JavaX-Caches/tmp_1441523245/main.java:1: error: class, interface, or enum expected static SS nlLogic_expandMacros_funcShortNames = litmap( ^ /root/JavaX-Caches/tmp_1441523245/main.java:2: error: unclosed character literal 'o, 'output, ^ /root/JavaX-Caches/tmp_1441523245/main.java:2: error: unclosed character literal 'o, 'output, ^ /root/JavaX-Caches/tmp_1441523245/main.java:3: error: unclosed character literal 'i, 'input); ^ /root/JavaX-Caches/tmp_1441523245/main.java:3: error: unclosed character literal 'i, 'input); ^ /root/JavaX-Caches/tmp_1441523245/main.java:6: error: class, interface, or enum expected static void nlLogic_expandMacros(L<IfThen> rules) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:9: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1441523245/main.java:14: error: class, interface, or enum expected int varCount = 0; ^ /root/JavaX-Caches/tmp_1441523245/main.java:16: error: class, interface, or enum expected S rendered; ^ /root/JavaX-Caches/tmp_1441523245/main.java:18: error: class, interface, or enum expected do { ^ /root/JavaX-Caches/tmp_1441523245/main.java:20: error: class, interface, or enum expected rendered = str(r); ^ /root/JavaX-Caches/tmp_1441523245/main.java:21: error: class, interface, or enum expected nlLogic_visit(r, voidfunc(O o) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:24: error: class, interface, or enum expected if (name != null) o.name = name; ^ /root/JavaX-Caches/tmp_1441523245/main.java:25: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1441523245/main.java:28: error: class, interface, or enum expected Exp out = r.out; ^ /root/JavaX-Caches/tmp_1441523245/main.java:29: error: class, interface, or enum expected if (out cast Func) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:31: error: class, interface, or enum expected if (eq(name, 'sayIfTrue)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:31: error: unclosed character literal if (eq(name, 'sayIfTrue)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:32: error: unclosed character literal r.out = Func('output, out.arg); ^ /root/JavaX-Caches/tmp_1441523245/main.java:33: error: class, interface, or enum expected r.in = And(r.in, Func('fact, out.arg)); ^ /root/JavaX-Caches/tmp_1441523245/main.java:33: error: unclosed character literal r.in = And(r.in, Func('fact, out.arg)); ^ /root/JavaX-Caches/tmp_1441523245/main.java:34: error: class, interface, or enum expected } else if (eq(name, 'inputToFact)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:34: error: unclosed character literal } else if (eq(name, 'inputToFact)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:35: error: unclosed character literal r.out = Func('fact, out.arg); ^ /root/JavaX-Caches/tmp_1441523245/main.java:36: error: class, interface, or enum expected r.in = nlLogic_and(Func('input, restructure(out.arg)), r.in); ^ /root/JavaX-Caches/tmp_1441523245/main.java:36: error: unclosed character literal r.in = nlLogic_and(Func('input, restructure(out.arg)), r.in); ^ /root/JavaX-Caches/tmp_1441523245/main.java:37: error: class, interface, or enum expected } else if (eqOneOf(name, 'outputEval, 'evalOutput)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:37: error: unclosed character literal } else if (eqOneOf(name, 'outputEval, 'evalOutput)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:37: error: unclosed character literal } else if (eqOneOf(name, 'outputEval, 'evalOutput)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:39: error: class, interface, or enum expected r.out = Func('output, Sentence2(var)); ^ /root/JavaX-Caches/tmp_1441523245/main.java:39: error: unclosed character literal r.out = Func('output, Sentence2(var)); ^ /root/JavaX-Caches/tmp_1441523245/main.java:40: error: class, interface, or enum expected r.in = And(r.in, Eq(Sentence2(var), Func('eval, out.arg))); ^ /root/JavaX-Caches/tmp_1441523245/main.java:40: error: unclosed character literal r.in = And(r.in, Eq(Sentence2(var), Func('eval, out.arg))); ^ /root/JavaX-Caches/tmp_1441523245/main.java:42: error: class, interface, or enum expected } else if (eq(name, 'output)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:42: error: unclosed character literal } else if (eq(name, 'output)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:46: error: class, interface, or enum expected T3<S> t = jextractWithRests(pat, out.argText()); ^ /root/JavaX-Caches/tmp_1441523245/main.java:47: error: class, interface, or enum expected if (t == null) break; ^ /root/JavaX-Caches/tmp_1441523245/main.java:48: error: class, interface, or enum expected new Matches m; ^ /root/JavaX-Caches/tmp_1441523245/main.java:49: error: class, interface, or enum expected L<S> tok = javaTok(t.b); ^ /root/JavaX-Caches/tmp_1441523245/main.java:50: error: class, interface, or enum expected if (!jmatch(pat, tok, m)) break; ^ /root/JavaX-Caches/tmp_1441523245/main.java:51: error: class, interface, or enum expected S x1 = m.get(0); ^ /root/JavaX-Caches/tmp_1441523245/main.java:52: error: class, interface, or enum expected if (!isDollarVar(x1) || !endsWith(x1, "1")) break with print("x1"); ^ /root/JavaX-Caches/tmp_1441523245/main.java:53: error: class, interface, or enum expected S x = dropSuffix("1", x1); ^ /root/JavaX-Caches/tmp_1441523245/main.java:54: error: class, interface, or enum expected if (!eq(m.get(1), x + "2")) break with print("x2"); ^ /root/JavaX-Caches/tmp_1441523245/main.java:56: error: class, interface, or enum expected if (!eq(m.get(3), x + "_n")) break with print("x_n"); ^ /root/JavaX-Caches/tmp_1441523245/main.java:58: error: class, interface, or enum expected out.name = 'outputEval; ^ /root/JavaX-Caches/tmp_1441523245/main.java:58: error: unclosed character literal out.name = 'outputEval; ^ /root/JavaX-Caches/tmp_1441523245/main.java:59: error: class, interface, or enum expected out.arg = Sentence2(quote(t.a) + " + joinWithComma_specialLast((LS) call(ai_context(), 'getList, " + quote(x) + "), " ^ /root/JavaX-Caches/tmp_1441523245/main.java:62: error: class, interface, or enum expected } while (false); ^ /root/JavaX-Caches/tmp_1441523245/main.java:63: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1441523245/main.java:70: error: unclosed character literal if (eqOneOf(o.name, 'input, 'fact)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:70: error: unclosed character literal if (eqOneOf(o.name, 'input, 'fact)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:71: error: unclosed character literal if (contains(o.options, 're)) ^ /root/JavaX-Caches/tmp_1441523245/main.java:73: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_1441523245/main.java:75: error: class, interface, or enum expected if (s != null) ^ /root/JavaX-Caches/tmp_1441523245/main.java:77: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1441523245/main.java:78: error: unclosed character literal } else if (eq(o.name, 'unresolvedFact)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:79: error: unclosed character literal o.name = 'fact; ^ /root/JavaX-Caches/tmp_1441523245/main.java:80: error: class, interface, or enum expected o.arg = Sentence2("Unresolved fact: " + o.arg.text()); ^ /root/JavaX-Caches/tmp_1441523245/main.java:81: error: class, interface, or enum expected } else if (eq(o.name, 'evalTrue)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:81: error: unclosed character literal } else if (eq(o.name, 'evalTrue)) { ^ /root/JavaX-Caches/tmp_1441523245/main.java:82: error: unclosed character literal o.name = 'eval; ^ /root/JavaX-Caches/tmp_1441523245/main.java:83: error: class, interface, or enum expected o.arg = Sentence2(tok_addSemicolon(o.arg.text()) + " ret true;"); ^ /root/JavaX-Caches/tmp_1441523245/main.java:84: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1441523245/main.java:86: error: class, interface, or enum expected } while (neq(rendered, str(r))); ^ /root/JavaX-Caches/tmp_1441523245/main.java:88: error: class, interface, or enum expected ret r; ^ /root/JavaX-Caches/tmp_1441523245/main.java:89: error: class, interface, or enum expected } ^ 67 errors