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

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

/root/JavaX-Caches/tmp_1878066589/main.java:1: error: class, interface, or enum expected !752 ^ /root/JavaX-Caches/tmp_1878066589/main.java:7: error: illegal start of type new L<Entry> stack; ^ /root/JavaX-Caches/tmp_1878066589/main.java:9: error: illegal start of type new L<Clause> program; ^ /root/JavaX-Caches/tmp_1878066589/main.java:10: error: illegal start of type new L<L<Clause>> programByArity; ^ /root/JavaX-Caches/tmp_1878066589/main.java:12: error: illegal start of type new L<Native> natives; ^ /root/JavaX-Caches/tmp_1878066589/main.java:32: error: ';' expected ret isQuoted (a) ? eq(a, b) : eqic(a, b); ^ /root/JavaX-Caches/tmp_1878066589/main.java:32: error: not a statement ret isQuoted (a) ? eq(a, b) : eqic(a, b); ^ /root/JavaX-Caches/tmp_1878066589/main.java:32: error: ';' expected ret isQuoted (a) ? eq(a, b) : eqic(a, b); ^ /root/JavaX-Caches/tmp_1878066589/main.java:32: error: ';' expected ret isQuoted (a) ? eq(a, b) : eqic(a, b); ^ /root/JavaX-Caches/tmp_1878066589/main.java:39: error: illegal start of type *(S name) { ^ /root/JavaX-Caches/tmp_1878066589/main.java:39: error: ';' expected *(S name) { ^ /root/JavaX-Caches/tmp_1878066589/main.java:44: error: illegal start of type *(long id) { ^ /root/JavaX-Caches/tmp_1878066589/main.java:44: error: ';' expected *(long id) { ^ /root/JavaX-Caches/tmp_1878066589/main.java:54: error: ';' expected ret instance.toString(); ^ /root/JavaX-Caches/tmp_1878066589/main.java:54: error: variable declaration not allowed here ret instance.toString(); ^ /root/JavaX-Caches/tmp_1878066589/main.java:55: error: ';' expected ret prettyName(); ^ /root/JavaX-Caches/tmp_1878066589/main.java:59: error: ';' expected ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1878066589/main.java:59: error: ';' expected ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1878066589/main.java:59: error: not a statement ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1878066589/main.java:63: error: ';' expected ret id == 0; ^ /root/JavaX-Caches/tmp_1878066589/main.java:73: error: ';' expected Var v = cast l; ^ /root/JavaX-Caches/tmp_1878066589/main.java:73: error: not a statement Var v = cast l; ^ /root/JavaX-Caches/tmp_1878066589/main.java:75: error: variable declaration not allowed here ret v; ^ /root/JavaX-Caches/tmp_1878066589/main.java:83: error: illegal start of type new L<Lisp> solutions; ^ /root/JavaX-Caches/tmp_1878066589/main.java:85: error: illegal start of type *() { super("___"); } ^ /root/JavaX-Caches/tmp_1878066589/main.java:88: error: not a statement ret "<collector>"; ^ /root/JavaX-Caches/tmp_1878066589/main.java:88: error: ';' expected ret "<collector>"; ^ /root/JavaX-Caches/tmp_1878066589/main.java:101: error: illegal start of type *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:101: error: <identifier> expected *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:101: error: <identifier> expected *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:101: error: ';' expected *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:101: error: <identifier> expected *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:102: error: illegal start of type *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:102: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:102: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:102: error: ';' expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:102: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:103: error: illegal start of type *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:103: error: <identifier> expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:103: error: <identifier> expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:103: error: ';' expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:103: error: <identifier> expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:103: error: ';' expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:103: error: <identifier> expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:104: error: illegal start of type *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:104: error: <identifier> expected *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:104: error: <identifier> expected *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:107: error: not a statement ret new Clause(Prolog.this.copy(head), body == null ? null : body.copy(), nat); ^ /root/JavaX-Caches/tmp_1878066589/main.java:107: error: ';' expected ret new Clause(Prolog.this.copy(head), body == null ? null : body.copy(), nat); ^ /root/JavaX-Caches/tmp_1878066589/main.java:112: error: ';' expected ret nat != null ? head + " :- native" : ^ /root/JavaX-Caches/tmp_1878066589/main.java:112: error: not a statement ret nat != null ? head + " :- native" : ^ /root/JavaX-Caches/tmp_1878066589/main.java:112: error: ';' expected ret nat != null ? head + " :- native" : ^ /root/JavaX-Caches/tmp_1878066589/main.java:113: error: not a statement (body == null ? head.toString() : head + " :- " + body); ^ /root/JavaX-Caches/tmp_1878066589/main.java:113: error: ';' expected (body == null ? head.toString() : head + " :- " + body); ^ /root/JavaX-Caches/tmp_1878066589/main.java:121: error: illegal start of type *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:121: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:121: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:121: error: ';' expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:121: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:140: error: illegal start of type new L<Var> vars; ^ /root/JavaX-Caches/tmp_1878066589/main.java:142: error: illegal start of type *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:142: error: <identifier> expected *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:142: error: <identifier> expected *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:143: error: illegal start of type *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1878066589/main.java:143: error: <identifier> expected *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1878066589/main.java:143: error: <identifier> expected *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1878066589/main.java:156: error: illegal start of type *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:156: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:156: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:156: error: ';' expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:156: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:157: error: illegal start of type *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:157: error: <identifier> expected *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:157: error: <identifier> expected *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1878066589/main.java:160: error: ';' expected ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1878066589/main.java:160: error: ';' expected ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1878066589/main.java:160: error: not a statement ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1878066589/main.java:176: error: not a statement if (unify(a, b)) ret true; ^ /root/JavaX-Caches/tmp_1878066589/main.java:176: error: ';' expected if (unify(a, b)) ret true; ^ /root/JavaX-Caches/tmp_1878066589/main.java:178: error: not a statement ret false; ^ /root/JavaX-Caches/tmp_1878066589/main.java:178: error: ';' expected ret false; ^ /root/JavaX-Caches/tmp_1878066589/main.java:186: error: ';' expected Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1878066589/main.java:186: error: not a statement Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1878066589/main.java:212: error: ';' expected Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1878066589/main.java:212: error: not a statement Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1878066589/main.java:227: error: not a statement ret new Var(++varCount); ^ /root/JavaX-Caches/tmp_1878066589/main.java:227: error: ';' expected ret new Var(++varCount); ^ /root/JavaX-Caches/tmp_1878066589/main.java:231: error: not a statement ret new Var(name); ^ /root/JavaX-Caches/tmp_1878066589/main.java:231: error: ';' expected ret new Var(name); ^ /root/JavaX-Caches/tmp_1878066589/main.java:235: error: ';' expected ret prologify(new Clause(head, body)); ^ /root/JavaX-Caches/tmp_1878066589/main.java:235: error: ';' expected ret prologify(new Clause(head, body)); ^ /root/JavaX-Caches/tmp_1878066589/main.java:262: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1878066589/main.java:262: error: not a statement ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1878066589/main.java:262: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1878066589/main.java:262: error: not a statement ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1878066589/main.java:262: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1878066589/main.java:264: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1878066589/main.java:264: error: variable declaration not allowed here ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1878066589/main.java:264: error: not a statement ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1878066589/main.java:264: error: ';' expected ret clause(rule, (Lisp) null); ^ 100 errors only showing the first 100 errors, of 276 total; use -Xmaxerrs if you would like to see more