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

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

/root/JavaX-Caches/tmp_1223985945/main.java:9: error: class, interface, or enum expected embedded S functionSimple() { ^ /root/JavaX-Caches/tmp_1223985945/main.java:11: error: class, interface, or enum expected S shape = "circle"; ^ /root/JavaX-Caches/tmp_1223985945/main.java:12: error: class, interface, or enum expected return "A " + color + " " + shape; ^ /root/JavaX-Caches/tmp_1223985945/main.java:13: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1223985945/main.java:39: error: class, interface, or enum expected void step(VStack stack) { ^ /root/JavaX-Caches/tmp_1223985945/main.java:42: error: class, interface, or enum expected if (step == 0) { ^ /root/JavaX-Caches/tmp_1223985945/main.java:44: error: class, interface, or enum expected stack.options(this, ^ /root/JavaX-Caches/tmp_1223985945/main.java:47: error: class, interface, or enum expected } else if (step == 1) { ^ /root/JavaX-Caches/tmp_1223985945/main.java:49: error: class, interface, or enum expected stack.options(this, ^ /root/JavaX-Caches/tmp_1223985945/main.java:52: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_1223985945/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1223985945/main.java:60: error: class, interface, or enum expected repeat 100 { // 100 steps max for safety ^ /root/JavaX-Caches/tmp_1223985945/main.java:65: error: class, interface, or enum expected stack = stack.backtrack(); ^ /root/JavaX-Caches/tmp_1223985945/main.java:68: error: class, interface, or enum expected if (stack == null) { ^ /root/JavaX-Caches/tmp_1223985945/main.java:70: error: class, interface, or enum expected return; ^ /root/JavaX-Caches/tmp_1223985945/main.java:71: error: class, interface, or enum expected } ^ 16 errors