Wrote /root/JavaX-Caches/tmp_1701682680/main.java - 1358 bytes (written=1358, should be 1358)
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_2037089612 /root/JavaX-Caches/tmp_1701682680/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1701682680/main.java:1: error: class, interface, or enum expected
sclass PoemBot {
^
/root/JavaX-Caches/tmp_1701682680/main.java:3: error: class, interface, or enum expected
int index;
^
/root/JavaX-Caches/tmp_1701682680/main.java:4: error: class, interface, or enum expected
new Map wordMap;
^
/root/JavaX-Caches/tmp_1701682680/main.java:6: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_1701682680/main.java:11: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1701682680/main.java:15: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1701682680/main.java:19: error: class, interface, or enum expected
wordMap.clear();
^
/root/JavaX-Caches/tmp_1701682680/main.java:20: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1701682680/main.java:25: error: class, interface, or enum expected
learnLine(assertNotNull(poem.get(index).q), s);
^
/root/JavaX-Caches/tmp_1701682680/main.java:26: error: class, interface, or enum expected
++index;
^
/root/JavaX-Caches/tmp_1701682680/main.java:27: error: class, interface, or enum expected
if (index >= l(poem)) ret "Sorry, out of script. ^^";
^
/root/JavaX-Caches/tmp_1701682680/main.java:28: error: class, interface, or enum expected
S a = poem.get(index).a;
^
/root/JavaX-Caches/tmp_1701682680/main.java:29: error: class, interface, or enum expected
if (nempty(a)) {
^
/root/JavaX-Caches/tmp_1701682680/main.java:31: error: class, interface, or enum expected
ret translateLine(a);
^
/root/JavaX-Caches/tmp_1701682680/main.java:32: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1701682680/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1701682680/main.java:39: error: class, interface, or enum expected
L t2 = nlTok2(dropPunctuation2(out));
^
/root/JavaX-Caches/tmp_1701682680/main.java:40: error: class, interface, or enum expected
if (l(t1) != l(t2)) fail("Please say something like this: " + in);
^
/root/JavaX-Caches/tmp_1701682680/main.java:42: error: class, interface, or enum expected
for (int i = 1; i < l(t1); i += 2) {
^
/root/JavaX-Caches/tmp_1701682680/main.java:42: error: class, interface, or enum expected
for (int i = 1; i < l(t1); i += 2) {
^
/root/JavaX-Caches/tmp_1701682680/main.java:42: error: class, interface, or enum expected
for (int i = 1; i < l(t1); i += 2) {
^
/root/JavaX-Caches/tmp_1701682680/main.java:44: error: class, interface, or enum expected
if (!eqic(w1, w2))
^
/root/JavaX-Caches/tmp_1701682680/main.java:47: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1701682680/main.java:52: error: class, interface, or enum expected
for (int i = 1; i < l(tok); i += 2) {
^
/root/JavaX-Caches/tmp_1701682680/main.java:52: error: class, interface, or enum expected
for (int i = 1; i < l(tok); i += 2) {
^
/root/JavaX-Caches/tmp_1701682680/main.java:52: error: class, interface, or enum expected
for (int i = 1; i < l(tok); i += 2) {
^
/root/JavaX-Caches/tmp_1701682680/main.java:54: error: class, interface, or enum expected
if (nempty(w))
^
/root/JavaX-Caches/tmp_1701682680/main.java:56: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1701682680/main.java:58: error: class, interface, or enum expected
}
^
29 errors