Wrote /root/JavaX-Caches/tmp_1036490314/main.java - 12278 bytes (written=12278, should be 12278)
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_568714459 /root/JavaX-Caches/tmp_1036490314/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1036490314/main.java:1: error: class, interface, or enum expected
bool debug;
^
/root/JavaX-Caches/tmp_1036490314/main.java:2: error: class, interface, or enum expected
bool imagineMode;
^
/root/JavaX-Caches/tmp_1036490314/main.java:3: error: class, interface, or enum expected
bool collectCheckingLog = true;
^
/root/JavaX-Caches/tmp_1036490314/main.java:4: error: class, interface, or enum expected
new LinkedHashSet imaginedFacts;
^
/root/JavaX-Caches/tmp_1036490314/main.java:5: error: class, interface, or enum expected
LS checkingLog;
^
/root/JavaX-Caches/tmp_1036490314/main.java:6: error: class, interface, or enum expected
long processingTime;
^
/root/JavaX-Caches/tmp_1036490314/main.java:7: error: class, interface, or enum expected
new L activeTempRules;
^
/root/JavaX-Caches/tmp_1036490314/main.java:8: error: class, interface, or enum expected
int evalTimeout = 20000;
^
/root/JavaX-Caches/tmp_1036490314/main.java:9: error: class, interface, or enum expected
bool useIterate; // full iterate mode for normal rule checking
^
/root/JavaX-Caches/tmp_1036490314/main.java:10: error: class, interface, or enum expected
O standardGrouper; // grouping function for all input
^
/root/JavaX-Caches/tmp_1036490314/main.java:12: error: class, interface, or enum expected
*() {
^
/root/JavaX-Caches/tmp_1036490314/main.java:16: error: class, interface, or enum expected
setMaxSizeOfMRUCache(parse3_cachedInput_cache, 10000);
^
/root/JavaX-Caches/tmp_1036490314/main.java:17: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1036490314/main.java:22: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1036490314/main.java:24: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1036490314/main.java:27: error: class, interface, or enum expected
final new Thinking t;
^
/root/JavaX-Caches/tmp_1036490314/main.java:28: error: class, interface, or enum expected
final Map tl = getMCThreadLocals(ai_staticVars());
^
/root/JavaX-Caches/tmp_1036490314/main.java:31: error: class, interface, or enum expected
t.thinkAbout(input);
^
/root/JavaX-Caches/tmp_1036490314/main.java:33: error: class, interface, or enum expected
int n = 0;
^
/root/JavaX-Caches/tmp_1036490314/main.java:34: error: class, interface, or enum expected
do {
^
/root/JavaX-Caches/tmp_1036490314/main.java:38: error: class, interface, or enum expected
} while (!t.done);
^
/root/JavaX-Caches/tmp_1036490314/main.java:40: error: class, interface, or enum expected
activeTempRules.clear();
^
/root/JavaX-Caches/tmp_1036490314/main.java:41: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1036490314/main.java:43: error: class, interface, or enum expected
void _postMessage(S s) { postMessage(s); }
^
/root/JavaX-Caches/tmp_1036490314/main.java:47: error: illegal start of type
new Map ruleScores;
^
/root/JavaX-Caches/tmp_1036490314/main.java:49: error: illegal start of type
new L rules;
^
/root/JavaX-Caches/tmp_1036490314/main.java:50: error: ';' expected
replace Plan with PlanInMotion.
^
/root/JavaX-Caches/tmp_1036490314/main.java:50: error: ';' expected
replace Plan with PlanInMotion.
^
/root/JavaX-Caches/tmp_1036490314/main.java:52: error: illegal start of type
new HashSet outputSet;
^
/root/JavaX-Caches/tmp_1036490314/main.java:74: error: ')' expected
plan.add(r "!initiative" {
^
/root/JavaX-Caches/tmp_1036490314/main.java:75: error: not a statement
if (!eq(input1, "!initiative")) ret;
^
/root/JavaX-Caches/tmp_1036490314/main.java:80: error: unclosed character literal
if (nlLogic_isFunc(p.a, 'initiative)) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:80: error: not a statement
if (nlLogic_isFunc(p.a, 'initiative)) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:80: error: ';' expected
if (nlLogic_isFunc(p.a, 'initiative)) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:86: error: ';' expected
ret with done();
^
/root/JavaX-Caches/tmp_1036490314/main.java:89: error: ';' expected
ret with done();
^
/root/JavaX-Caches/tmp_1036490314/main.java:90: error: illegal start of expression
});
^
/root/JavaX-Caches/tmp_1036490314/main.java:92: error: ')' expected
plan.add(r "!step" {
^
/root/JavaX-Caches/tmp_1036490314/main.java:93: error: '(' or '[' expected
new Matches mm;
^
/root/JavaX-Caches/tmp_1036490314/main.java:94: error: not a statement
if (!startsWith_trim(input1, "!step ", mm)) ret;
^
/root/JavaX-Caches/tmp_1036490314/main.java:96: error: illegal start of expression
});
^
/root/JavaX-Caches/tmp_1036490314/main.java:98: error: ')' expected
runPlanWithCheck(plan, func -> bool { !done });
^
/root/JavaX-Caches/tmp_1036490314/main.java:98: error: not a statement
runPlanWithCheck(plan, func -> bool { !done });
^
/root/JavaX-Caches/tmp_1036490314/main.java:98: error: ';' expected
runPlanWithCheck(plan, func -> bool { !done });
^
/root/JavaX-Caches/tmp_1036490314/main.java:98: error: illegal start of expression
runPlanWithCheck(plan, func -> bool { !done });
^
/root/JavaX-Caches/tmp_1036490314/main.java:99: error: not a statement
if (done) ret;
^
/root/JavaX-Caches/tmp_1036490314/main.java:104: error: illegal start of type
final new LS options;
^
/root/JavaX-Caches/tmp_1036490314/main.java:104: error: '(' or '[' expected
final new LS options;
^
/root/JavaX-Caches/tmp_1036490314/main.java:113: error: '(' or '[' expected
final NLLogicChecker_v3 c = new NLLogicChecker_v3 {
^
/root/JavaX-Caches/tmp_1036490314/main.java:114: error: ';' expected
bool checkExpression_impl(Exp e, Matching m) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:114: error: ';' expected
bool checkExpression_impl(Exp e, Matching m) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:114: error: not a statement
bool checkExpression_impl(Exp e, Matching m) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:114: error: ';' expected
bool checkExpression_impl(Exp e, Matching m) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:120: error: ';' expected
ret telegram_amIAuthorized();
^
/root/JavaX-Caches/tmp_1036490314/main.java:120: error: variable declaration not allowed here
ret telegram_amIAuthorized();
^
/root/JavaX-Caches/tmp_1036490314/main.java:122: error: variable declaration not allowed here
ret imagineMode;
^
/root/JavaX-Caches/tmp_1036490314/main.java:121: error: 'else' without 'if'
else if(eq(text, "imagineMode"))
^
/root/JavaX-Caches/tmp_1036490314/main.java:125: error: not a statement
ret super.checkExpression_impl(e, m);
^
/root/JavaX-Caches/tmp_1036490314/main.java:125: error: ';' expected
ret super.checkExpression_impl(e, m);
^
/root/JavaX-Caches/tmp_1036490314/main.java:130: error: '(' or '[' expected
checkingLog = new L;
^
/root/JavaX-Caches/tmp_1036490314/main.java:136: error: expected
NLLogic_MultiThreadedEngine engine = new(rulesAndFacts);
^
/root/JavaX-Caches/tmp_1036490314/main.java:139: error: ';' expected
engine.makeLogicChecker = func -> NLLogicChecker_v2 {
^
/root/JavaX-Caches/tmp_1036490314/main.java:140: error: '(' or '[' expected
new NLLogicChecker_v2 c;
^
/root/JavaX-Caches/tmp_1036490314/main.java:162: error: unclosed character literal
fS msgGlobalID = getString(telegram_msg(), 'globalID);
^
/root/JavaX-Caches/tmp_1036490314/main.java:162: error: not a statement
fS msgGlobalID = getString(telegram_msg(), 'globalID);
^
/root/JavaX-Caches/tmp_1036490314/main.java:162: error: ';' expected
fS msgGlobalID = getString(telegram_msg(), 'globalID);
^
/root/JavaX-Caches/tmp_1036490314/main.java:175: error: class, interface, or enum expected
void executeRule(NLLogicChecker_v2 c, RuleWithParams r, Thinking t) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:179: error: class, interface, or enum expected
if (e cast Func) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:181: error: class, interface, or enum expected
if (eqOneOf(name, 'output, 'say))
^
/root/JavaX-Caches/tmp_1036490314/main.java:181: error: unclosed character literal
if (eqOneOf(name, 'output, 'say))
^
/root/JavaX-Caches/tmp_1036490314/main.java:181: error: unclosed character literal
if (eqOneOf(name, 'output, 'say))
^
/root/JavaX-Caches/tmp_1036490314/main.java:183: error: class, interface, or enum expected
else if (eq(name, 'fact)) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:183: error: unclosed character literal
else if (eq(name, 'fact)) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:185: error: class, interface, or enum expected
if (imagineMode) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:188: error: class, interface, or enum expected
t.postMessage("Storing imaginary fact: " + fact);
^
/root/JavaX-Caches/tmp_1036490314/main.java:189: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1036490314/main.java:192: error: class, interface, or enum expected
} else if (eq(name, 'storeRule)) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:192: error: unclosed character literal
} else if (eq(name, 'storeRule)) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:194: error: class, interface, or enum expected
if (!telegram_authorizedToStoreRule(rule)) continue;
^
/root/JavaX-Caches/tmp_1036490314/main.java:195: error: class, interface, or enum expected
rule = nlLogic_addGlobalID(rule);
^
/root/JavaX-Caches/tmp_1036490314/main.java:196: error: class, interface, or enum expected
if (mech_changed(appendToMechList_noUniq("NL Logic Examples", "\n" + rule)))
^
/root/JavaX-Caches/tmp_1036490314/main.java:198: error: class, interface, or enum expected
} else if (eq(name, 'imagineMode)) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:198: error: unclosed character literal
} else if (eq(name, 'imagineMode)) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:200: error: class, interface, or enum expected
if (!imagineMode) imaginedFacts.clear();
^
/root/JavaX-Caches/tmp_1036490314/main.java:201: error: class, interface, or enum expected
} /*else if (eq(name, 'input)) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:208: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_1036490314/main.java:210: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1036490314/main.java:215: error: class, interface, or enum expected
if (debug)
^
/root/JavaX-Caches/tmp_1036490314/main.java:217: error: class, interface, or enum expected
ret p;
^
/root/JavaX-Caches/tmp_1036490314/main.java:218: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1036490314/main.java:223: error: class, interface, or enum expected
final new Matches m;
^
/root/JavaX-Caches/tmp_1036490314/main.java:224: error: class, interface, or enum expected
S procedure = nlLookup(mechMap("Telegram Procedures"), s, m);
^
/root/JavaX-Caches/tmp_1036490314/main.java:225: error: class, interface, or enum expected
if (procedure != null) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:227: error: class, interface, or enum expected
print(">> " + procedure);
^
/root/JavaX-Caches/tmp_1036490314/main.java:228: error: class, interface, or enum expected
postMessage(strOrNull(javaEvalOrInterpret(procedure)));
^
/root/JavaX-Caches/tmp_1036490314/main.java:229: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1036490314/main.java:232: error: class, interface, or enum expected
S language = 'english;
^
/root/JavaX-Caches/tmp_1036490314/main.java:232: error: unclosed character literal
S language = 'english;
^
/root/JavaX-Caches/tmp_1036490314/main.java:233: error: class, interface, or enum expected
if (swic_trim(s, "!german ", m)) {
^
/root/JavaX-Caches/tmp_1036490314/main.java:234: error: unclosed character literal
language = 'german;
^
100 errors
only showing the first 100 errors, of 157 total; use -Xmaxerrs if you would like to see more