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

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

/root/JavaX-Caches/tmp_1918561974/main.java:1: error: class, interface, or enum expected sclass NewWoody { ^ /root/JavaX-Caches/tmp_1918561974/main.java:3: error: class, interface, or enum expected transient new L<BBRule> badRules; ^ /root/JavaX-Caches/tmp_1918561974/main.java:5: error: class, interface, or enum expected Map<S, RuleData> ruleData = ciMap(); ^ /root/JavaX-Caches/tmp_1918561974/main.java:6: error: class, interface, or enum expected S lastOutput; ^ /root/JavaX-Caches/tmp_1918561974/main.java:7: error: class, interface, or enum expected BBRule lastRule, activeRule, gotoRule; ^ /root/JavaX-Caches/tmp_1918561974/main.java:8: error: class, interface, or enum expected S prefix = "BB | "; ^ /root/JavaX-Caches/tmp_1918561974/main.java:10: error: class, interface, or enum expected sclass RuleData { ^ /root/JavaX-Caches/tmp_1918561974/main.java:12: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1918561974/main.java:15: error: <identifier> expected ret getOrCreate(ruleData, rule.listName, RuleData.class); ^ /root/JavaX-Caches/tmp_1918561974/main.java:16: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1918561974/main.java:20: error: unclosed character literal rulesByName = indexFieldAsCIMap('listName, bb_allRules()); ^ /root/JavaX-Caches/tmp_1918561974/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1918561974/main.java:23: error: class, interface, or enum expected *(NewWoody w) { initFrom(w); } ^ /root/JavaX-Caches/tmp_1918561974/main.java:26: error: unclosed character literal copyFields(w, this, 'rulesByName, 'badRules); ^ /root/JavaX-Caches/tmp_1918561974/main.java:26: error: unclosed character literal copyFields(w, this, 'rulesByName, 'badRules); ^ /root/JavaX-Caches/tmp_1918561974/main.java:27: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1918561974/main.java:31: error: class, interface, or enum expected lastOutput = null; ^ /root/JavaX-Caches/tmp_1918561974/main.java:33: error: class, interface, or enum expected temp tempSetTL(ctxContext_var(), nu(CtxContext, +input)); ^ /root/JavaX-Caches/tmp_1918561974/main.java:34: error: class, interface, or enum expected new L<BBRule> matching; ^ /root/JavaX-Caches/tmp_1918561974/main.java:35: error: class, interface, or enum expected if (nempty(input)) ^ /root/JavaX-Caches/tmp_1918561974/main.java:40: error: class, interface, or enum expected setActiveRule(or(first(matching), activeRule)); ^ /root/JavaX-Caches/tmp_1918561974/main.java:41: error: class, interface, or enum expected repeat 10 { ^ /root/JavaX-Caches/tmp_1918561974/main.java:43: error: class, interface, or enum expected doRule(); ^ /root/JavaX-Caches/tmp_1918561974/main.java:44: error: class, interface, or enum expected if (gotoRule == null) break; ^ /root/JavaX-Caches/tmp_1918561974/main.java:45: error: class, interface, or enum expected setActiveRule(gotoRule); ^ /root/JavaX-Caches/tmp_1918561974/main.java:46: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1918561974/main.java:51: error: unclosed character literal if (cic(activeRule.answerMode, 'random)) // TODO: mark seen ^ /root/JavaX-Caches/tmp_1918561974/main.java:53: error: class, interface, or enum expected else if (cic(activeRule.answerMode, 'switch)) { ^ /root/JavaX-Caches/tmp_1918561974/main.java:53: error: unclosed character literal else if (cic(activeRule.answerMode, 'switch)) { ^ /root/JavaX-Caches/tmp_1918561974/main.java:56: error: class, interface, or enum expected if (l(l) == 2 && print(first(l), ctxEvalCondition(first(l)))) { ^ /root/JavaX-Caches/tmp_1918561974/main.java:58: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_1918561974/main.java:59: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1918561974/main.java:64: error: class, interface, or enum expected setOutput(get(activeRule.answers, ^ /root/JavaX-Caches/tmp_1918561974/main.java:66: error: class, interface, or enum expected ++rd.answerIndex; ^ /root/JavaX-Caches/tmp_1918561974/main.java:67: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1918561974/main.java:72: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1918561974/main.java:74: error: class, interface, or enum expected } catch print e { ^ /root/JavaX-Caches/tmp_1918561974/main.java:76: error: class, interface, or enum expected rulesByName.remove(r.listName); ^ /root/JavaX-Caches/tmp_1918561974/main.java:77: error: class, interface, or enum expected false; ^ /root/JavaX-Caches/tmp_1918561974/main.java:78: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1918561974/main.java:83: error: class, interface, or enum expected ret [BBRule r : valuesList(rulesByName) | ruleExpressionMatches(r)]; ^ /root/JavaX-Caches/tmp_1918561974/main.java:84: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1918561974/main.java:88: error: class, interface, or enum expected if (swic_trim(trim(lastLine(s)), "goto:", m)) { ^ /root/JavaX-Caches/tmp_1918561974/main.java:90: error: class, interface, or enum expected gotoRule = rulesByName.get(ruleName); ^ /root/JavaX-Caches/tmp_1918561974/main.java:91: error: class, interface, or enum expected print("Goto: " + ruleName + " (" + yesNo(gotoRule != null) + ")"); ^ /root/JavaX-Caches/tmp_1918561974/main.java:92: error: class, interface, or enum expected s = dropLastLine(s); ^ /root/JavaX-Caches/tmp_1918561974/main.java:93: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1918561974/main.java:95: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1918561974/main.java:99: error: class, interface, or enum expected } ^ 49 errors