Wrote /root/JavaX-Caches/tmp_429616322/main.java - 2333 bytes (written=2333, should be 2333) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 1.8 -target 1.8 -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_887917699 /root/JavaX-Caches/tmp_429616322/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_429616322/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_429616322/main.java:5: error: class, interface, or enum expected S action; ^ /root/JavaX-Caches/tmp_429616322/main.java:6: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_429616322/main.java:10: error: class, interface, or enum expected int start, end; ^ /root/JavaX-Caches/tmp_429616322/main.java:12: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_429616322/main.java:15: error: class, interface, or enum expected end = subjectTokens.end; ^ /root/JavaX-Caches/tmp_429616322/main.java:16: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_429616322/main.java:21: error: class, interface, or enum expected IntRange answer; ^ /root/JavaX-Caches/tmp_429616322/main.java:22: error: class, interface, or enum expected bool correct; ^ /root/JavaX-Caches/tmp_429616322/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_429616322/main.java:25: error: class, interface, or enum expected abstract sclass Guesser { ^ /root/JavaX-Caches/tmp_429616322/main.java:26: error: class, interface, or enum expected abstract IntRange getSubjectTokens(L<S> tok); ^ /root/JavaX-Caches/tmp_429616322/main.java:27: error: class, interface, or enum expected void learn(L<Example> material) { ^ /root/JavaX-Caches/tmp_429616322/main.java:30: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_429616322/main.java:37: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_429616322/main.java:43: error: class, interface, or enum expected IntRange getSubjectTokens(L<S> tok) { ^ /root/JavaX-Caches/tmp_429616322/main.java:45: error: class, interface, or enum expected if (n >= 0) ret new IntRange(n, n+1); ^ /root/JavaX-Caches/tmp_429616322/main.java:46: error: class, interface, or enum expected null; ^ /root/JavaX-Caches/tmp_429616322/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_429616322/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_429616322/main.java:57: error: class, interface, or enum expected *(S *text) { super(text); } ^ /root/JavaX-Caches/tmp_429616322/main.java:61: error: illegal character: '#' loadConceptsFrom(#1008607); ^ /root/JavaX-Caches/tmp_429616322/main.java:62: error: class, interface, or enum expected L<Example> material = learningMaterial(); ^ /root/JavaX-Caches/tmp_429616322/main.java:63: error: class, interface, or enum expected pnlStruct(material); ^ /root/JavaX-Caches/tmp_429616322/main.java:65: error: class, interface, or enum expected DefaultMutableTreeNode root = new("Guesser results"); ^ /root/JavaX-Caches/tmp_429616322/main.java:66: error: class, interface, or enum expected checkGuesser(root, material, new G1); ^ /root/JavaX-Caches/tmp_429616322/main.java:67: error: class, interface, or enum expected checkGuesserAfterFullLearn(root, material, new G2); ^ /root/JavaX-Caches/tmp_429616322/main.java:69: error: class, interface, or enum expected showFrame(jDynamicTree(new F1<DefaultMutableTreeNode, Bool>() { ^ /root/JavaX-Caches/tmp_429616322/main.java:75: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_429616322/main.java:79: error: class, interface, or enum expected for (Example e : testMaterial) { ^ /root/JavaX-Caches/tmp_429616322/main.java:81: error: class, interface, or enum expected if (eq(IntRange(e.start, e.end), r)) ++score; ^ /root/JavaX-Caches/tmp_429616322/main.java:82: error: class, interface, or enum expected ++n; ^ /root/JavaX-Caches/tmp_429616322/main.java:83: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_429616322/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_429616322/main.java:89: error: class, interface, or enum expected S s = checkGuesser(testMaterial, g); ^ /root/JavaX-Caches/tmp_429616322/main.java:90: error: class, interface, or enum expected root.add(new DefaultMutableTreeNode(s)); ^ /root/JavaX-Caches/tmp_429616322/main.java:91: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_429616322/main.java:95: error: class, interface, or enum expected for (Sentence s) { ^ /root/JavaX-Caches/tmp_429616322/main.java:97: error: class, interface, or enum expected IntRange r = ai_parseSubjectAction(s.action); ^ /root/JavaX-Caches/tmp_429616322/main.java:98: error: class, interface, or enum expected if (r != null) { ^ /root/JavaX-Caches/tmp_429616322/main.java:100: error: class, interface, or enum expected out.add(Example(tok, charRangeToTokenRange(tok, r))); ^ /root/JavaX-Caches/tmp_429616322/main.java:101: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_429616322/main.java:104: error: class, interface, or enum expected } ^ 43 errors