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

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

/root/JavaX-Caches/tmp_1448027684/main.java:1: error: class, interface, or enum expected !752 ^ /root/JavaX-Caches/tmp_1448027684/main.java:7: error: illegal start of type new L<Entry> stack; ^ /root/JavaX-Caches/tmp_1448027684/main.java:9: error: illegal start of type new L<Clause> program; ^ /root/JavaX-Caches/tmp_1448027684/main.java:10: error: illegal start of type new L<L<Clause>> programByArity; ^ /root/JavaX-Caches/tmp_1448027684/main.java:12: error: illegal start of type new L<Native> natives; ^ /root/JavaX-Caches/tmp_1448027684/main.java:29: error: ';' expected ret isQuoted (a) ? eq(a, b) : eqic(a, b); ^ /root/JavaX-Caches/tmp_1448027684/main.java:29: error: not a statement ret isQuoted (a) ? eq(a, b) : eqic(a, b); ^ /root/JavaX-Caches/tmp_1448027684/main.java:29: error: ';' expected ret isQuoted (a) ? eq(a, b) : eqic(a, b); ^ /root/JavaX-Caches/tmp_1448027684/main.java:29: error: ';' expected ret isQuoted (a) ? eq(a, b) : eqic(a, b); ^ /root/JavaX-Caches/tmp_1448027684/main.java:36: error: illegal start of type *(S name) { ^ /root/JavaX-Caches/tmp_1448027684/main.java:36: error: ';' expected *(S name) { ^ /root/JavaX-Caches/tmp_1448027684/main.java:41: error: illegal start of type *(long id) { ^ /root/JavaX-Caches/tmp_1448027684/main.java:41: error: ';' expected *(long id) { ^ /root/JavaX-Caches/tmp_1448027684/main.java:51: error: ';' expected ret instance.toString(); ^ /root/JavaX-Caches/tmp_1448027684/main.java:51: error: variable declaration not allowed here ret instance.toString(); ^ /root/JavaX-Caches/tmp_1448027684/main.java:52: error: ';' expected ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1448027684/main.java:52: error: ';' expected ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1448027684/main.java:52: error: not a statement ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1448027684/main.java:56: error: ';' expected ret id == 0; ^ /root/JavaX-Caches/tmp_1448027684/main.java:66: error: ';' expected Var v = cast l; ^ /root/JavaX-Caches/tmp_1448027684/main.java:66: error: not a statement Var v = cast l; ^ /root/JavaX-Caches/tmp_1448027684/main.java:68: error: variable declaration not allowed here ret v; ^ /root/JavaX-Caches/tmp_1448027684/main.java:82: error: illegal start of type *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:82: error: <identifier> expected *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:82: error: <identifier> expected *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:82: error: ';' expected *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:82: error: <identifier> expected *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:83: error: illegal start of type *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:83: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:83: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:83: error: ';' expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:83: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:84: error: illegal start of type *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:84: error: <identifier> expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:84: error: <identifier> expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:84: error: ';' expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:84: error: <identifier> expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:84: error: ';' expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:84: error: <identifier> expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:85: error: illegal start of type *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:85: error: <identifier> expected *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:85: error: <identifier> expected *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:88: error: not a statement ret new Clause(Prolog.this.copy(head), body == null ? null : body.copy(), nat); ^ /root/JavaX-Caches/tmp_1448027684/main.java:88: error: ';' expected ret new Clause(Prolog.this.copy(head), body == null ? null : body.copy(), nat); ^ /root/JavaX-Caches/tmp_1448027684/main.java:93: error: ';' expected ret nat != null ? head + " :- native" : ^ /root/JavaX-Caches/tmp_1448027684/main.java:93: error: not a statement ret nat != null ? head + " :- native" : ^ /root/JavaX-Caches/tmp_1448027684/main.java:93: error: ';' expected ret nat != null ? head + " :- native" : ^ /root/JavaX-Caches/tmp_1448027684/main.java:94: error: not a statement (body == null ? head.toString() : head + " :- " + body); ^ /root/JavaX-Caches/tmp_1448027684/main.java:94: error: ';' expected (body == null ? head.toString() : head + " :- " + body); ^ /root/JavaX-Caches/tmp_1448027684/main.java:102: error: illegal start of type *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:102: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:102: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:102: error: ';' expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:102: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:113: error: illegal start of type new L<Var> vars; ^ /root/JavaX-Caches/tmp_1448027684/main.java:115: error: illegal start of type *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:115: error: <identifier> expected *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:115: error: <identifier> expected *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:116: error: illegal start of type *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1448027684/main.java:116: error: <identifier> expected *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1448027684/main.java:116: error: <identifier> expected *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1448027684/main.java:129: error: illegal start of type *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:129: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:129: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:129: error: ';' expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:129: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:130: error: illegal start of type *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:130: error: <identifier> expected *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:130: error: <identifier> expected *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1448027684/main.java:133: error: ';' expected ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1448027684/main.java:133: error: ';' expected ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1448027684/main.java:133: error: not a statement ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1448027684/main.java:149: error: not a statement if (unify(a, b)) ret true; ^ /root/JavaX-Caches/tmp_1448027684/main.java:149: error: ';' expected if (unify(a, b)) ret true; ^ /root/JavaX-Caches/tmp_1448027684/main.java:151: error: not a statement ret false; ^ /root/JavaX-Caches/tmp_1448027684/main.java:151: error: ';' expected ret false; ^ /root/JavaX-Caches/tmp_1448027684/main.java:159: error: ';' expected Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1448027684/main.java:159: error: not a statement Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1448027684/main.java:186: error: ';' expected Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1448027684/main.java:186: error: not a statement Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1448027684/main.java:202: error: not a statement ret new Var(++varCount); ^ /root/JavaX-Caches/tmp_1448027684/main.java:202: error: ';' expected ret new Var(++varCount); ^ /root/JavaX-Caches/tmp_1448027684/main.java:206: error: not a statement ret new Var(name); ^ /root/JavaX-Caches/tmp_1448027684/main.java:206: error: ';' expected ret new Var(name); ^ /root/JavaX-Caches/tmp_1448027684/main.java:210: error: ';' expected ret prologify(new Clause(head, body)); ^ /root/JavaX-Caches/tmp_1448027684/main.java:210: error: ';' expected ret prologify(new Clause(head, body)); ^ /root/JavaX-Caches/tmp_1448027684/main.java:234: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1448027684/main.java:234: error: not a statement ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1448027684/main.java:234: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1448027684/main.java:234: error: not a statement ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1448027684/main.java:234: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1448027684/main.java:236: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1448027684/main.java:236: error: variable declaration not allowed here ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1448027684/main.java:236: error: not a statement ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1448027684/main.java:236: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1448027684/main.java:236: error: not a statement ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1448027684/main.java:236: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1448027684/main.java:240: error: ';' expected ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1448027684/main.java:240: error: not a statement ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1448027684/main.java:240: error: ';' expected ret clause(head, body == null ? null : new Goal(body)); ^ 100 errors only showing the first 100 errors, of 219 total; use -Xmaxerrs if you would like to see more