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

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

/root/JavaX-Caches/tmp_1059785395/main.java:1: error: class, interface, or enum expected !752 ^ /root/JavaX-Caches/tmp_1059785395/main.java:7: error: illegal start of type new L<Entry> stack; ^ /root/JavaX-Caches/tmp_1059785395/main.java:9: error: illegal start of type new L<Clause> program; ^ /root/JavaX-Caches/tmp_1059785395/main.java:10: error: illegal start of type new L<L<Clause>> programByArity; ^ /root/JavaX-Caches/tmp_1059785395/main.java:12: error: illegal start of type new L<Native> natives; ^ /root/JavaX-Caches/tmp_1059785395/main.java:31: error: illegal start of type *(S name) { ^ /root/JavaX-Caches/tmp_1059785395/main.java:31: error: ';' expected *(S name) { ^ /root/JavaX-Caches/tmp_1059785395/main.java:36: error: illegal start of type *(long id) { ^ /root/JavaX-Caches/tmp_1059785395/main.java:36: error: ';' expected *(long id) { ^ /root/JavaX-Caches/tmp_1059785395/main.java:46: error: ';' expected ret instance.toString(); ^ /root/JavaX-Caches/tmp_1059785395/main.java:46: error: variable declaration not allowed here ret instance.toString(); ^ /root/JavaX-Caches/tmp_1059785395/main.java:47: error: ';' expected ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1059785395/main.java:47: error: ';' expected ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1059785395/main.java:47: error: not a statement ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1059785395/main.java:51: error: ';' expected ret id == 0; ^ /root/JavaX-Caches/tmp_1059785395/main.java:61: error: ';' expected Var v = cast l; ^ /root/JavaX-Caches/tmp_1059785395/main.java:61: error: not a statement Var v = cast l; ^ /root/JavaX-Caches/tmp_1059785395/main.java:63: error: variable declaration not allowed here ret v; ^ /root/JavaX-Caches/tmp_1059785395/main.java:77: error: illegal start of type *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:77: error: <identifier> expected *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:77: error: <identifier> expected *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:77: error: ';' expected *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:77: error: <identifier> expected *(Lisp *head, Native *nat) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:78: error: illegal start of type *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:78: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:78: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:78: error: ';' expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:78: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:79: error: illegal start of type *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:79: error: <identifier> expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:79: error: <identifier> expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:79: error: ';' expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:79: error: <identifier> expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:79: error: ';' expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:79: error: <identifier> expected *(Lisp *head, Goal *body, Native *nat) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:80: error: illegal start of type *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:80: error: <identifier> expected *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:80: error: <identifier> expected *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:83: error: not a statement ret new Clause(Prolog.this.copy(head), body == null ? null : body.copy(), nat); ^ /root/JavaX-Caches/tmp_1059785395/main.java:83: error: ';' expected ret new Clause(Prolog.this.copy(head), body == null ? null : body.copy(), nat); ^ /root/JavaX-Caches/tmp_1059785395/main.java:88: error: ';' expected ret nat != null ? head + " :- native" : ^ /root/JavaX-Caches/tmp_1059785395/main.java:88: error: not a statement ret nat != null ? head + " :- native" : ^ /root/JavaX-Caches/tmp_1059785395/main.java:88: error: ';' expected ret nat != null ? head + " :- native" : ^ /root/JavaX-Caches/tmp_1059785395/main.java:89: error: not a statement (body == null ? head.toString() : head + " :- " + body); ^ /root/JavaX-Caches/tmp_1059785395/main.java:89: error: ';' expected (body == null ? head.toString() : head + " :- " + body); ^ /root/JavaX-Caches/tmp_1059785395/main.java:97: error: illegal start of type *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:97: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:97: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:97: error: ';' expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:97: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:108: error: illegal start of type new L<Var> vars; ^ /root/JavaX-Caches/tmp_1059785395/main.java:110: error: illegal start of type *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:110: error: <identifier> expected *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:110: error: <identifier> expected *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:111: error: illegal start of type *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1059785395/main.java:111: error: <identifier> expected *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1059785395/main.java:111: error: <identifier> expected *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1059785395/main.java:124: error: illegal start of type *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:124: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:124: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:124: error: ';' expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:124: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:125: error: illegal start of type *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:125: error: <identifier> expected *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:125: error: <identifier> expected *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1059785395/main.java:128: error: ';' expected ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1059785395/main.java:128: error: ';' expected ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1059785395/main.java:128: error: not a statement ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1059785395/main.java:144: error: not a statement if (unify(a, b)) ret true; ^ /root/JavaX-Caches/tmp_1059785395/main.java:144: error: ';' expected if (unify(a, b)) ret true; ^ /root/JavaX-Caches/tmp_1059785395/main.java:146: error: not a statement ret false; ^ /root/JavaX-Caches/tmp_1059785395/main.java:146: error: ';' expected ret false; ^ /root/JavaX-Caches/tmp_1059785395/main.java:154: error: ';' expected Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1059785395/main.java:154: error: not a statement Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1059785395/main.java:181: error: ';' expected Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1059785395/main.java:181: error: not a statement Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1059785395/main.java:197: error: not a statement ret new Var(++varCount); ^ /root/JavaX-Caches/tmp_1059785395/main.java:197: error: ';' expected ret new Var(++varCount); ^ /root/JavaX-Caches/tmp_1059785395/main.java:201: error: not a statement ret new Var(name); ^ /root/JavaX-Caches/tmp_1059785395/main.java:201: error: ';' expected ret new Var(name); ^ /root/JavaX-Caches/tmp_1059785395/main.java:205: error: ';' expected ret prologify(new Clause(head, body)); ^ /root/JavaX-Caches/tmp_1059785395/main.java:205: error: ';' expected ret prologify(new Clause(head, body)); ^ /root/JavaX-Caches/tmp_1059785395/main.java:224: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1059785395/main.java:224: error: not a statement ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1059785395/main.java:224: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1059785395/main.java:224: error: not a statement ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1059785395/main.java:224: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1059785395/main.java:226: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1059785395/main.java:226: error: variable declaration not allowed here ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1059785395/main.java:226: error: not a statement ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1059785395/main.java:226: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1059785395/main.java:226: error: not a statement ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1059785395/main.java:226: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1059785395/main.java:230: error: ';' expected ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1059785395/main.java:230: error: not a statement ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1059785395/main.java:230: error: ';' expected ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1059785395/main.java:230: error: not a statement ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1059785395/main.java:230: error: ';' expected ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1059785395/main.java:234: error: ';' expected ret prologify(term, new HashMap); ^ /root/JavaX-Caches/tmp_1059785395/main.java:234: error: not a statement ret prologify(term, new HashMap); ^ 100 errors only showing the first 100 errors, of 213 total; use -Xmaxerrs if you would like to see more