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

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

/root/JavaX-Caches/tmp_1027559447/main.java:1: error: class, interface, or enum expected bool parsePythonesqueProcedure_debug; ^ /root/JavaX-Caches/tmp_1027559447/main.java:3: error: class, interface, or enum expected L parsePythonesqueProcedure(S proc) { ^ /root/JavaX-Caches/tmp_1027559447/main.java:8: error: class, interface, or enum expected proc = autoUnindent_honoringBrackets(proc); ^ /root/JavaX-Caches/tmp_1027559447/main.java:12: error: class, interface, or enum expected LS l = groupPythonStyleIndents_honoringBrackets(proc); ^ /root/JavaX-Caches/tmp_1027559447/main.java:15: error: class, interface, or enum expected new L out; ^ /root/JavaX-Caches/tmp_1027559447/main.java:16: error: class, interface, or enum expected If lastIf = null; ^ /root/JavaX-Caches/tmp_1027559447/main.java:17: error: class, interface, or enum expected for i over l: { ^ /root/JavaX-Caches/tmp_1027559447/main.java:19: error: class, interface, or enum expected LS tok = javaTokWithBrackets(s); ^ /root/JavaX-Caches/tmp_1027559447/main.java:20: error: class, interface, or enum expected if (eqic(firstCodeToken(tok), "if")) { ^ /root/JavaX-Caches/tmp_1027559447/main.java:22: error: class, interface, or enum expected out.add(lastIf = new If(deRoundBracket(getCodeToken(tok, 1)), ^ /root/JavaX-Caches/tmp_1027559447/main.java:24: error: class, interface, or enum expected continue; ^ /root/JavaX-Caches/tmp_1027559447/main.java:25: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1027559447/main.java:28: error: class, interface, or enum expected out.add(lastIf = new If(deRoundBracket(getCodeToken(tok, 1)), ^ /root/JavaX-Caches/tmp_1027559447/main.java:30: error: class, interface, or enum expected continue; ^ /root/JavaX-Caches/tmp_1027559447/main.java:31: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1027559447/main.java:34: error: class, interface, or enum expected out.add(new While(deRoundBracket(getCodeToken(tok, 1)), ^ /root/JavaX-Caches/tmp_1027559447/main.java:36: error: class, interface, or enum expected continue; ^ /root/JavaX-Caches/tmp_1027559447/main.java:37: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1027559447/main.java:40: error: class, interface, or enum expected if (lastIf == null) fail("Else if without if"); ^ /root/JavaX-Caches/tmp_1027559447/main.java:41: error: class, interface, or enum expected assertEquals(s, ":", getCodeToken(tok, 3)); ^ /root/JavaX-Caches/tmp_1027559447/main.java:42: error: class, interface, or enum expected lastIf.elseBlock = lastIf = new If(deRoundBracket(getCodeToken(tok, 2)), ^ /root/JavaX-Caches/tmp_1027559447/main.java:44: error: class, interface, or enum expected continue; ^ /root/JavaX-Caches/tmp_1027559447/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1027559447/main.java:48: error: class, interface, or enum expected if (lastIf == null) fail("Else without if"); ^ /root/JavaX-Caches/tmp_1027559447/main.java:49: error: class, interface, or enum expected assertEquals(s, ":", getCodeToken(tok, 1)); ^ /root/JavaX-Caches/tmp_1027559447/main.java:50: error: class, interface, or enum expected lastIf.elseBlock = joinSubList(tok, 2*2); ^ /root/JavaX-Caches/tmp_1027559447/main.java:51: error: class, interface, or enum expected continue; ^ /root/JavaX-Caches/tmp_1027559447/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1027559447/main.java:57: error: class, interface, or enum expected continue; ^ /root/JavaX-Caches/tmp_1027559447/main.java:58: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1027559447/main.java:61: error: class, interface, or enum expected if (eqic(firstCodeToken(tok), "for")) { ^ /root/JavaX-Caches/tmp_1027559447/main.java:64: error: class, interface, or enum expected assertTrue(s, idx >= 0); ^ /root/JavaX-Caches/tmp_1027559447/main.java:65: error: class, interface, or enum expected S var = getCodeToken(tok, 1); ^ /root/JavaX-Caches/tmp_1027559447/main.java:66: error: class, interface, or enum expected S expr = joinSubList(tok, 3*2+1, idx-1); ^ /root/JavaX-Caches/tmp_1027559447/main.java:67: error: class, interface, or enum expected O body = parsePythonesqueProcedure(joinSubList(tok, idx+1)); ^ /root/JavaX-Caches/tmp_1027559447/main.java:68: error: class, interface, or enum expected out.add(new ForIn(var, expr, body)); ^ /root/JavaX-Caches/tmp_1027559447/main.java:69: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_1027559447/main.java:71: error: class, interface, or enum expected S cond = getCodeToken(tok, 1); ^ /root/JavaX-Caches/tmp_1027559447/main.java:73: error: class, interface, or enum expected cond = deRoundBracket(cond); ^ /root/JavaX-Caches/tmp_1027559447/main.java:74: error: class, interface, or enum expected LS tok2 = javaTok(cond); ^ /root/JavaX-Caches/tmp_1027559447/main.java:75: error: class, interface, or enum expected assertEquals(cond, "|", getCodeToken(tok2, 1)); ^ /root/JavaX-Caches/tmp_1027559447/main.java:76: error: class, interface, or enum expected S var = assertIdentifier(cond, getCodeToken(tok2, 0)); ^ /root/JavaX-Caches/tmp_1027559447/main.java:77: error: class, interface, or enum expected S actualCondition = trimJoinSubList(tok2, 2*2+1); ^ /root/JavaX-Caches/tmp_1027559447/main.java:78: error: class, interface, or enum expected out.add(new For(var, actualCondition, parsePythonesqueProcedure(joinSubList(tok, 3*2)))); ^ /root/JavaX-Caches/tmp_1027559447/main.java:79: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1027559447/main.java:82: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1027559447/main.java:85: error: class, interface, or enum expected ret out; ^ /root/JavaX-Caches/tmp_1027559447/main.java:86: error: class, interface, or enum expected } ^ 48 errors