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

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

/root/JavaX-Caches/tmp_214769705/main.java:1: error: class, interface, or enum expected sclass BEACalculations { ^ /root/JavaX-Caches/tmp_214769705/main.java:3: error: class, interface, or enum expected *(GazelleBEA *mod) {} ^ /root/JavaX-Caches/tmp_214769705/main.java:6: error: class, interface, or enum expected transient double algoTimeout = 30.0; ^ /root/JavaX-Caches/tmp_214769705/main.java:8: error: class, interface, or enum expected void reactAllInputsWithSomePatterns() { ^ /root/JavaX-Caches/tmp_214769705/main.java:11: error: class, interface, or enum expected r.input = input; ^ /root/JavaX-Caches/tmp_214769705/main.java:12: error: class, interface, or enum expected r.ccOut = db_mainConcepts(); ^ /root/JavaX-Caches/tmp_214769705/main.java:13: error: class, interface, or enum expected r.max = 10; ^ /root/JavaX-Caches/tmp_214769705/main.java:14: error: class, interface, or enum expected r.start(); ^ /root/JavaX-Caches/tmp_214769705/main.java:15: error: class, interface, or enum expected stepAllWithTimeout(10.0, r); ^ /root/JavaX-Caches/tmp_214769705/main.java:16: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:23: error: class, interface, or enum expected reactInputWithPattern(input, pattern); ^ /root/JavaX-Caches/tmp_214769705/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:31: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:43: error: '(' expected void start { ^ /root/JavaX-Caches/tmp_214769705/main.java:44: error: ')' expected n = countConceptsWhereIC(ccOut, BEAObject, +input, type := "match"); ^ /root/JavaX-Caches/tmp_214769705/main.java:45: error: ')' expected patterns = iterator(sortByConceptID(conceptsWhereIC BEAObject(type := "Pattern"))); ^ /root/JavaX-Caches/tmp_214769705/main.java:45: error: ')' expected patterns = iterator(sortByConceptID(conceptsWhereIC BEAObject(type := "Pattern"))); ^ /root/JavaX-Caches/tmp_214769705/main.java:49: error: not a statement if (n >= max) false; ^ /root/JavaX-Caches/tmp_214769705/main.java:50: error: not a statement if (!patterns.hasNext()) false; ^ /root/JavaX-Caches/tmp_214769705/main.java:53: error: not a statement true; ^ /root/JavaX-Caches/tmp_214769705/main.java:58: error: class, interface, or enum expected Pair<BEA, SS> matchInputWithPatternList(S text, BEA patternList) { ^ /root/JavaX-Caches/tmp_214769705/main.java:60: error: class, interface, or enum expected fOr (BEA pattern : patterns) { ^ /root/JavaX-Caches/tmp_214769705/main.java:62: error: class, interface, or enum expected if (mapping != null) ret pair(pattern, mapping); ^ /root/JavaX-Caches/tmp_214769705/main.java:63: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:65: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:70: error: class, interface, or enum expected SS matchInputWithPattern(BEAObject input, BEAObject pattern) { ^ /root/JavaX-Caches/tmp_214769705/main.java:72: error: class, interface, or enum expected ret matchInputWithPattern(text, pattern); ^ /root/JavaX-Caches/tmp_214769705/main.java:73: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:77: error: class, interface, or enum expected bool punctuationOnly = isTrue_getOpt punctuationOnly(pattern); ^ /root/JavaX-Caches/tmp_214769705/main.java:79: error: class, interface, or enum expected if (pattern.typeIs("Syntactic Pattern")) ^ /root/JavaX-Caches/tmp_214769705/main.java:81: error: class, interface, or enum expected else if (eqic_gen(pattern~.subType, "PhraseCache")) ^ /root/JavaX-Caches/tmp_214769705/main.java:83: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_214769705/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:89: error: class, interface, or enum expected ret matchInputWithPattern(text, pat, punctuationOnly); ^ /root/JavaX-Caches/tmp_214769705/main.java:90: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:94: error: class, interface, or enum expected if (mapping != null || punctuationOnly) ret mapping; ^ /root/JavaX-Caches/tmp_214769705/main.java:97: error: class, interface, or enum expected null; // not doing the implicit punctuation drop anymore (it's now an explicit pattern) ^ /root/JavaX-Caches/tmp_214769705/main.java:98: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:102: error: class, interface, or enum expected matchInput_droppedPunctuation.set(false); ^ /root/JavaX-Caches/tmp_214769705/main.java:103: error: class, interface, or enum expected SS mapping = matchInputWithPattern(input, pattern); ^ /root/JavaX-Caches/tmp_214769705/main.java:105: error: class, interface, or enum expected if (mapping == null) null; ^ /root/JavaX-Caches/tmp_214769705/main.java:106: error: class, interface, or enum expected BEA match = uniqCI(ccOut, BEA, ^ /root/JavaX-Caches/tmp_214769705/main.java:110: error: class, interface, or enum expected cset(match, ^ /root/JavaX-Caches/tmp_214769705/main.java:114: error: class, interface, or enum expected ret match; ^ /root/JavaX-Caches/tmp_214769705/main.java:115: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:119: error: class, interface, or enum expected BEAObject input = getConcept BEAObject(parseLong(req.get("id"))); ^ /root/JavaX-Caches/tmp_214769705/main.java:120: error: class, interface, or enum expected if (input == null) ^ /root/JavaX-Caches/tmp_214769705/main.java:122: error: class, interface, or enum expected S text = getString text(input); ^ /root/JavaX-Caches/tmp_214769705/main.java:123: error: class, interface, or enum expected new ReactInputWithSomePatterns r; ^ /root/JavaX-Caches/tmp_214769705/main.java:124: error: class, interface, or enum expected r.input = input; ^ /root/JavaX-Caches/tmp_214769705/main.java:125: error: class, interface, or enum expected r.ccOut = ccOut; ^ /root/JavaX-Caches/tmp_214769705/main.java:126: error: class, interface, or enum expected r.max = 1000; ^ /root/JavaX-Caches/tmp_214769705/main.java:127: error: class, interface, or enum expected r.start(); ^ /root/JavaX-Caches/tmp_214769705/main.java:128: error: class, interface, or enum expected stepAllWithTimeout(10.0, r); ^ /root/JavaX-Caches/tmp_214769705/main.java:129: error: class, interface, or enum expected Cl matches = conceptsWhereIC(ccOut, BEAObject, type := "Match"); ^ /root/JavaX-Caches/tmp_214769705/main.java:130: error: class, interface, or enum expected ret h1_title("Analyze Input") ^ /root/JavaX-Caches/tmp_214769705/main.java:134: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:138: error: class, interface, or enum expected bool dontRun = eq(req.get("dontRun"), "1"); ^ /root/JavaX-Caches/tmp_214769705/main.java:139: error: class, interface, or enum expected bool liveOutput = eq(req.get("liveOutput"), "1"); ^ /root/JavaX-Caches/tmp_214769705/main.java:140: error: class, interface, or enum expected if (liveOutput) req.noSpam(); ^ /root/JavaX-Caches/tmp_214769705/main.java:142: error: class, interface, or enum expected if (eqic(algorithm, "process input")) ^ /root/JavaX-Caches/tmp_214769705/main.java:147: error: class, interface, or enum expected Map<S, IF0<Algorithm>> algorithms = algorithms(); ^ /root/JavaX-Caches/tmp_214769705/main.java:149: error: class, interface, or enum expected S output = empty(algorithm) || dontRun ? null : doAlgorithm(algorithms, algorithm, q, liveOutput); ^ /root/JavaX-Caches/tmp_214769705/main.java:151: error: class, interface, or enum expected if (liveOutput) ^ /root/JavaX-Caches/tmp_214769705/main.java:154: error: class, interface, or enum expected S right = withFrame ? "" : mod.html_loggedIn(); ^ /root/JavaX-Caches/tmp_214769705/main.java:156: error: class, interface, or enum expected Algorithm alg = callF(lookupPossiblyCI(algorithms, algorithm)); ^ /root/JavaX-Caches/tmp_214769705/main.java:157: error: class, interface, or enum expected if (alg != null) { ^ /root/JavaX-Caches/tmp_214769705/main.java:159: error: class, interface, or enum expected alg.req = mod.currentReq(); ^ /root/JavaX-Caches/tmp_214769705/main.java:160: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:169: error: class, interface, or enum expected function sugTrigger() { ^ /root/JavaX-Caches/tmp_214769705/main.java:171: error: class, interface, or enum expected if (sugLoading) { sugTriggerAgain = true; return; } ^ /root/JavaX-Caches/tmp_214769705/main.java:171: error: class, interface, or enum expected if (sugLoading) { sugTriggerAgain = true; return; } ^ /root/JavaX-Caches/tmp_214769705/main.java:171: error: class, interface, or enum expected if (sugLoading) { sugTriggerAgain = true; return; } ^ /root/JavaX-Caches/tmp_214769705/main.java:182: error: class, interface, or enum expected const url = "/query"; ^ /root/JavaX-Caches/tmp_214769705/main.java:183: error: class, interface, or enum expected console.log("Loading " + url + " with " + data); ^ /root/JavaX-Caches/tmp_214769705/main.java:184: error: class, interface, or enum expected sugLoading = true; ^ /root/JavaX-Caches/tmp_214769705/main.java:185: error: class, interface, or enum expected $.post(url, data, ^ /root/JavaX-Caches/tmp_214769705/main.java:188: error: class, interface, or enum expected const answer = !result ? "" : JSON.parse(result).answer; ^ /root/JavaX-Caches/tmp_214769705/main.java:189: error: class, interface, or enum expected if (answer) { ^ /root/JavaX-Caches/tmp_214769705/main.java:191: error: class, interface, or enum expected $("#liveResult").show(); ^ /root/JavaX-Caches/tmp_214769705/main.java:192: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_214769705/main.java:195: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:198: error: class, interface, or enum expected setTimeout(function() { ^ /root/JavaX-Caches/tmp_214769705/main.java:200: error: class, interface, or enum expected if (sugTriggerAgain) { sugTriggerAgain = false; sugTrigger(); } ^ /root/JavaX-Caches/tmp_214769705/main.java:200: error: class, interface, or enum expected if (sugTriggerAgain) { sugTriggerAgain = false; sugTrigger(); } ^ /root/JavaX-Caches/tmp_214769705/main.java:200: error: class, interface, or enum expected if (sugTriggerAgain) { sugTriggerAgain = false; sugTrigger(); } ^ /root/JavaX-Caches/tmp_214769705/main.java:202: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_214769705/main.java:203: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_214769705/main.java:206: error: unclosed character literal $("textarea[name=q], input[name=q], select[name=algorithm]").on('input propertychange change', sugTrigger); ^ /root/JavaX-Caches/tmp_214769705/main.java:206: error: unclosed character literal $("textarea[name=q], input[name=q], select[name=algorithm]").on('input propertychange change', sugTrigger); ^ /root/JavaX-Caches/tmp_214769705/main.java:207: error: class, interface, or enum expected sugTrigger(); ^ /root/JavaX-Caches/tmp_214769705/main.java:208: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_214769705/main.java:209: error: class, interface, or enum expected ]], +liveOutputDelay)) ^ /root/JavaX-Caches/tmp_214769705/main.java:214: error: <identifier> expected class := "auto-expand", ^ /root/JavaX-Caches/tmp_214769705/main.java:227: error: class, interface, or enum expected S content = (empty(right) ? "" : div_alignRight(right)) ^ /root/JavaX-Caches/tmp_214769705/main.java:234: error: class, interface, or enum expected if (withFrame) { ^ /root/JavaX-Caches/tmp_214769705/main.java:236: error: class, interface, or enum expected req.framer.add(content); ^ /root/JavaX-Caches/tmp_214769705/main.java:237: error: class, interface, or enum expected ret mod.completeFrame(req); ^ /root/JavaX-Caches/tmp_214769705/main.java:238: error: class, interface, or enum expected } else ^ 100 errors only showing the first 100 errors, of 464 total; use -Xmaxerrs if you would like to see more