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

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

/root/JavaX-Caches/tmp_1030111097/main.java:1: error: class, interface, or enum expected !752 ^ /root/JavaX-Caches/tmp_1030111097/main.java:7: error: illegal start of type new L<Entry> stack; ^ /root/JavaX-Caches/tmp_1030111097/main.java:9: error: illegal start of type new L<Clause> program; ^ /root/JavaX-Caches/tmp_1030111097/main.java:11: error: illegal start of type new L<Native> natives; ^ /root/JavaX-Caches/tmp_1030111097/main.java:25: error: illegal start of type *(S name) { ^ /root/JavaX-Caches/tmp_1030111097/main.java:25: error: ';' expected *(S name) { ^ /root/JavaX-Caches/tmp_1030111097/main.java:30: error: illegal start of type *(long id) { ^ /root/JavaX-Caches/tmp_1030111097/main.java:30: error: ';' expected *(long id) { ^ /root/JavaX-Caches/tmp_1030111097/main.java:40: error: ';' expected ret instance.toString(); ^ /root/JavaX-Caches/tmp_1030111097/main.java:40: error: variable declaration not allowed here ret instance.toString(); ^ /root/JavaX-Caches/tmp_1030111097/main.java:41: error: ';' expected ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1030111097/main.java:41: error: ';' expected ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1030111097/main.java:41: error: not a statement ret isUserVar() ? getName() : "_" + id; ^ /root/JavaX-Caches/tmp_1030111097/main.java:45: error: ';' expected ret id == 0; ^ /root/JavaX-Caches/tmp_1030111097/main.java:55: error: ';' expected Var v = cast l; ^ /root/JavaX-Caches/tmp_1030111097/main.java:55: error: not a statement Var v = cast l; ^ /root/JavaX-Caches/tmp_1030111097/main.java:57: error: variable declaration not allowed here ret v; ^ /root/JavaX-Caches/tmp_1030111097/main.java:68: error: illegal start of type *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:68: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:68: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:68: error: ';' expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:68: error: <identifier> expected *(Lisp *head, Goal *body) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:69: error: illegal start of type *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:69: error: <identifier> expected *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:69: error: <identifier> expected *(Lisp *head) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:77: error: ';' expected ret body == null ? head.toString() : head + " :- " + body; ^ /root/JavaX-Caches/tmp_1030111097/main.java:77: error: ';' expected ret body == null ? head.toString() : head + " :- " + body; ^ /root/JavaX-Caches/tmp_1030111097/main.java:77: error: not a statement ret body == null ? head.toString() : head + " :- " + body; ^ /root/JavaX-Caches/tmp_1030111097/main.java:85: error: illegal start of type *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:85: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:85: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:85: error: ';' expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:85: error: <identifier> expected *(Var *tcar, Trail *tcdr) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:96: error: illegal start of type new L<Var> vars; ^ /root/JavaX-Caches/tmp_1030111097/main.java:98: error: illegal start of type *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:98: error: <identifier> expected *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:98: error: <identifier> expected *(L<Var> *vars) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:99: error: illegal start of type *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1030111097/main.java:99: error: <identifier> expected *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1030111097/main.java:99: error: <identifier> expected *(Var... vars) { this.vars.addAll(asList(vars)); } ^ /root/JavaX-Caches/tmp_1030111097/main.java:112: error: illegal start of type *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:112: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:112: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:112: error: ';' expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:112: error: <identifier> expected *(Lisp *car, Goal *cdr) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:113: error: illegal start of type *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:113: error: <identifier> expected *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:113: error: <identifier> expected *(Lisp *car) {} ^ /root/JavaX-Caches/tmp_1030111097/main.java:116: error: ';' expected ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1030111097/main.java:116: error: ';' expected ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1030111097/main.java:116: error: not a statement ret cdr == null ? car.toString() : car + "; " + cdr; ^ /root/JavaX-Caches/tmp_1030111097/main.java:135: error: ';' expected Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1030111097/main.java:135: error: not a statement Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1030111097/main.java:162: error: ';' expected Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1030111097/main.java:162: error: not a statement Var v = cast thiz; ^ /root/JavaX-Caches/tmp_1030111097/main.java:170: error: ';' expected ret copy2(thiz); ^ /root/JavaX-Caches/tmp_1030111097/main.java:170: error: not a statement ret copy2(thiz); ^ /root/JavaX-Caches/tmp_1030111097/main.java:170: error: ';' expected ret copy2(thiz); ^ /root/JavaX-Caches/tmp_1030111097/main.java:185: error: not a statement ret new Var(++varCount); ^ /root/JavaX-Caches/tmp_1030111097/main.java:185: error: ';' expected ret new Var(++varCount); ^ /root/JavaX-Caches/tmp_1030111097/main.java:189: error: not a statement ret new Var(name); ^ /root/JavaX-Caches/tmp_1030111097/main.java:189: error: ';' expected ret new Var(name); ^ /root/JavaX-Caches/tmp_1030111097/main.java:193: error: ';' expected ret prologify(new Clause(head, body)); ^ /root/JavaX-Caches/tmp_1030111097/main.java:193: error: ';' expected ret prologify(new Clause(head, body)); ^ /root/JavaX-Caches/tmp_1030111097/main.java:209: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1030111097/main.java:209: error: not a statement ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1030111097/main.java:209: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1030111097/main.java:209: error: not a statement ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1030111097/main.java:209: error: ';' expected ret clause(head, goal); ^ /root/JavaX-Caches/tmp_1030111097/main.java:211: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1030111097/main.java:211: error: variable declaration not allowed here ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1030111097/main.java:211: error: not a statement ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1030111097/main.java:211: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1030111097/main.java:211: error: not a statement ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1030111097/main.java:211: error: ';' expected ret clause(rule, (Lisp) null); ^ /root/JavaX-Caches/tmp_1030111097/main.java:215: error: ';' expected ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1030111097/main.java:215: error: not a statement ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1030111097/main.java:215: error: ';' expected ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1030111097/main.java:215: error: not a statement ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1030111097/main.java:215: error: ';' expected ret clause(head, body == null ? null : new Goal(body)); ^ /root/JavaX-Caches/tmp_1030111097/main.java:219: error: ';' expected ret prologify(term, new HashMap); ^ /root/JavaX-Caches/tmp_1030111097/main.java:219: error: not a statement ret prologify(term, new HashMap); ^ /root/JavaX-Caches/tmp_1030111097/main.java:219: error: ';' expected ret prologify(term, new HashMap); ^ /root/JavaX-Caches/tmp_1030111097/main.java:219: error: '(' or '[' expected ret prologify(term, new HashMap); ^ /root/JavaX-Caches/tmp_1030111097/main.java:223: error: '(' or '[' expected new HashMap vars; ^ /root/JavaX-Caches/tmp_1030111097/main.java:233: error: not a statement if (goal == null) ret null; ^ /root/JavaX-Caches/tmp_1030111097/main.java:233: error: ';' expected if (goal == null) ret null; ^ /root/JavaX-Caches/tmp_1030111097/main.java:234: error: not a statement ret new Goal( ^ /root/JavaX-Caches/tmp_1030111097/main.java:234: error: ';' expected ret new Goal( ^ /root/JavaX-Caches/tmp_1030111097/main.java:240: error: ';' expected ret upperCaseVariables ? snlIsVar(term) : nlIsVar(term); ^ /root/JavaX-Caches/tmp_1030111097/main.java:240: error: ';' expected ret upperCaseVariables ? snlIsVar(term) : nlIsVar(term); ^ /root/JavaX-Caches/tmp_1030111097/main.java:244: error: not a statement if (term == null) ret null; ^ /root/JavaX-Caches/tmp_1030111097/main.java:244: error: ';' expected if (term == null) ret null; ^ /root/JavaX-Caches/tmp_1030111097/main.java:259: error: '(' or '[' expected new IdentityHashMap<Var, Boolean> map; ^ /root/JavaX-Caches/tmp_1030111097/main.java:264: error: ';' expected ret asList(map.keySet()); ^ /root/JavaX-Caches/tmp_1030111097/main.java:264: error: ';' expected ret asList(map.keySet()); ^ /root/JavaX-Caches/tmp_1030111097/main.java:268: error: '(' or '[' expected new IdentityHashMap<Var, Boolean> map; ^ /root/JavaX-Caches/tmp_1030111097/main.java:270: error: ';' expected ret asList(map.keySet()); ^ /root/JavaX-Caches/tmp_1030111097/main.java:270: error: ';' expected ret asList(map.keySet()); ^ /root/JavaX-Caches/tmp_1030111097/main.java:282: error: '(' or '[' expected new HashMap<S, Var> map; ^ 100 errors only showing the first 100 errors, of 175 total; use -Xmaxerrs if you would like to see more