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

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

/root/JavaX-Caches/tmp_1976433713/main.java:1: error: class, interface, or enum expected !752 ^ /root/JavaX-Caches/tmp_1976433713/main.java:7: error: illegal start of type new L<Entry> stack; ^ /root/JavaX-Caches/tmp_1976433713/main.java:9: error: illegal start of type new L<Clause> program; ^ /root/JavaX-Caches/tmp_1976433713/main.java:10: error: illegal start of type new L<L<Clause>> programByArity; ^ /root/JavaX-Caches/tmp_1976433713/main.java:12: error: illegal start of type new L<Native> natives; ^ /root/JavaX-Caches/tmp_1976433713/main.java:26: error: illegal start of type *(S name) { ^ /root/JavaX-Caches/tmp_1976433713/main.java:26: error: ';' expected *(S name) { ^ /root/JavaX-Caches/tmp_1976433713/main.java:31: error: illegal start of type *(long id) { ^ /root/JavaX-Caches/tmp_1976433713/main.java:31: error: ';' expected *(long id) { ^ /root/JavaX-Caches/tmp_1976433713/main.java:41: error: ';' expected ret instance.toString(); ^ /root/JavaX-Caches/tmp_1976433713/main.java:41: error: variable declaration not allowed here ret instance.toString(); ^ /root/JavaX-Caches/tmp_1976433713/main.java:42: error: ';' expected ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1976433713/main.java:42: error: ';' expected ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1976433713/main.java:42: error: not a statement ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1976433713/main.java:46: error: ';' expected ret id == 0; ^ /root/JavaX-Caches/tmp_1976433713/main.java:56: error: ';' expected Var v = cast l; ^ /root/JavaX-Caches/tmp_1976433713/main.java:56: error: not a statement Var v = cast l; ^ /root/JavaX-Caches/tmp_1976433713/main.java:58: error: variable declaration not allowed here ret v; ^ /root/JavaX-Caches/tmp_1976433713/main.java:69: error: illegal start of type *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:69: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:69: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:69: error: ';' expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:69: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:70: error: illegal start of type *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:70: error: <identifier> expected *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:70: error: <identifier> expected *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:78: error: ';' expected ret body == null ? head.toString() : head + " :- " + body; ^ /root/JavaX-Caches/tmp_1976433713/main.java:78: error: ';' expected ret body == null ? head.toString() : head + " :- " + body; ^ /root/JavaX-Caches/tmp_1976433713/main.java:78: error: not a statement ret body == null ? head.toString() : head + " :- " + body; ^ /root/JavaX-Caches/tmp_1976433713/main.java:86: error: illegal start of type *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:86: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:86: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:86: error: ';' expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:86: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:97: error: illegal start of type new L<Var> vars; ^ /root/JavaX-Caches/tmp_1976433713/main.java:99: error: illegal start of type *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:99: error: <identifier> expected *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:99: error: <identifier> expected *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:100: error: illegal start of type *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1976433713/main.java:100: error: <identifier> expected *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1976433713/main.java:100: error: <identifier> expected *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1976433713/main.java:113: error: illegal start of type *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:113: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:113: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:113: error: ';' expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:113: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:114: error: illegal start of type *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:114: error: <identifier> expected *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:114: error: <identifier> expected *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:117: error: ';' expected ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1976433713/main.java:117: error: ';' expected ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1976433713/main.java:117: error: not a statement ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1976433713/main.java:136: error: ';' expected Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1976433713/main.java:136: error: not a statement Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1976433713/main.java:163: error: ';' expected Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1976433713/main.java:163: error: not a statement Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1976433713/main.java:179: error: not a statement ret new Var(++varCount); ^ /root/JavaX-Caches/tmp_1976433713/main.java:179: error: ';' expected ret new Var(++varCount); ^ /root/JavaX-Caches/tmp_1976433713/main.java:183: error: not a statement ret new Var(name); ^ /root/JavaX-Caches/tmp_1976433713/main.java:183: error: ';' expected ret new Var(name); ^ /root/JavaX-Caches/tmp_1976433713/main.java:187: error: ';' expected ret prologify(new Clause(head, body)); ^ /root/JavaX-Caches/tmp_1976433713/main.java:187: error: ';' expected ret prologify(new Clause(head, body)); ^ /root/JavaX-Caches/tmp_1976433713/main.java:203: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1976433713/main.java:203: error: not a statement ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1976433713/main.java:203: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1976433713/main.java:203: error: not a statement ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1976433713/main.java:203: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1976433713/main.java:205: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1976433713/main.java:205: error: variable declaration not allowed here ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1976433713/main.java:205: error: not a statement ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1976433713/main.java:205: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1976433713/main.java:205: error: not a statement ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1976433713/main.java:205: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1976433713/main.java:209: error: ';' expected ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1976433713/main.java:209: error: not a statement ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1976433713/main.java:209: error: ';' expected ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1976433713/main.java:209: error: not a statement ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1976433713/main.java:209: error: ';' expected ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1976433713/main.java:213: error: ';' expected ret prologify(term, new HashMap); ^ /root/JavaX-Caches/tmp_1976433713/main.java:213: error: not a statement ret prologify(term, new HashMap); ^ /root/JavaX-Caches/tmp_1976433713/main.java:213: error: ';' expected ret prologify(term, new HashMap); ^ /root/JavaX-Caches/tmp_1976433713/main.java:213: error: '(' or '[' expected ret prologify(term, new HashMap); ^ /root/JavaX-Caches/tmp_1976433713/main.java:217: error: '(' or '[' expected new HashMap vars; ^ /root/JavaX-Caches/tmp_1976433713/main.java:227: error: not a statement if (goal == null) ret null; ^ /root/JavaX-Caches/tmp_1976433713/main.java:227: error: ';' expected if (goal == null) ret null; ^ /root/JavaX-Caches/tmp_1976433713/main.java:228: error: not a statement ret new Goal( ^ /root/JavaX-Caches/tmp_1976433713/main.java:228: error: ';' expected ret new Goal( ^ /root/JavaX-Caches/tmp_1976433713/main.java:234: error: ';' expected ret upperCaseVariables ? snlIsVar(term) : nlIsVar(term); ^ /root/JavaX-Caches/tmp_1976433713/main.java:234: error: ';' expected ret upperCaseVariables ? snlIsVar(term) : nlIsVar(term); ^ /root/JavaX-Caches/tmp_1976433713/main.java:238: error: not a statement if (term == null) ret null; ^ /root/JavaX-Caches/tmp_1976433713/main.java:238: error: ';' expected if (term == null) ret null; ^ /root/JavaX-Caches/tmp_1976433713/main.java:253: error: '(' or '[' expected new IdentityHashMap<Var, Boolean> map; ^ /root/JavaX-Caches/tmp_1976433713/main.java:258: error: ';' expected ret asList(map.keySet()); ^ /root/JavaX-Caches/tmp_1976433713/main.java:258: error: ';' expected ret asList(map.keySet()); ^ /root/JavaX-Caches/tmp_1976433713/main.java:262: error: '(' or '[' expected new IdentityHashMap<Var, Boolean> map; ^ /root/JavaX-Caches/tmp_1976433713/main.java:264: error: ';' expected ret asList(map.keySet()); ^ /root/JavaX-Caches/tmp_1976433713/main.java:264: error: ';' expected ret asList(map.keySet()); ^ /root/JavaX-Caches/tmp_1976433713/main.java:276: error: '(' or '[' expected new HashMap<S, Var> map; ^ /root/JavaX-Caches/tmp_1976433713/main.java:290: error: illegal start of type *(Goal *goal) {} ^ /root/JavaX-Caches/tmp_1976433713/main.java:290: error: <identifier> expected *(Goal *goal) {} ^ 100 errors only showing the first 100 errors, of 178 total; use -Xmaxerrs if you would like to see more