Warning: session_start(): open(/var/lib/php/sessions/sess_17lu75j3943ip7oqt6g1e4tf5b, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
Rule Engine [Include] [1014771]

Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

176
LINES

< > BotCompany Repo | #1014771 // Rule Engine [Include]

JavaX fragment (include)

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_6lc9ndpm99et9e9svflc72anaq, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
{"1000628":"first function","1000658":"print function (=System.out.println + logging in memory)","1000659":"fail functions (improved)","1000688":"javaTok function - Java + JavaX tokenizer, but parses just about anything","1000798":"dropFirst function (drop first elements of array or chars of string - synonym of \"drop\")","1000810":"join function + array version","1001135":"isQuoted - now accurate by default","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001520":"eqic (short for equalsIgnoreCase)","1001735":"unquote - opposite of quote. also takes single quoted strings","1001878":"indexOf - fills various gaps in java.util.List API","1001892":"isIdentifier - synonym of isJavaIdentifier","1001913":"unnull","1002310":"subList function - use instead of List.subList","1002696":"class Lisp (CURRENT)","1002782":"unquoteAll - works on normal lists and CNC","1002835":"swic - synonym of startsWithIgnoreCase","1002836":"codeTokens - synonym of codeTokensOnly","1002840":"nlUnparse","1002884":"class Prolog with shared clauses (LIVE)","1002990":"contains - like Collection.contains, but allows a null collection and arrays. also for strings","1003239":"map - call function on list (takes function name, Runnable or function object with \"get\" method) \/ now also works on maps","1004160":"printAll","1004219":"Pair - value pair; sorted by a, then b","1004582":"javaTokC - codeTokensOnly+javaTok","1005107":"printAsciiHeading - synonym of printAsciiHeading2","1005162":"second function (get second element)","1005176":"getSingleton - assert a list\/array has exactly one element and get it","1005177":"getSingletonOpt - return single elemtent of list if length == 1 or null otherwise","1005595":"quote - Java-compatible string quoting with \"\". now also escapes \\t","1006330":"third - get third element from a list","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1008249":"joinWithSpace - synonym of joinWithSpaces","1008448":"pnl - synonym of printNumberedLines","1008537":"pnlStruct - print structures, numbered","1008946":"sfu - synonym of structureForUser - structure() without too many back refs","1009319":"joinSubList - join(subList(...)) - TODO: optimize","1013037":"tlftj - synonym of toLinesFullTrim_java - also drop Java comments","1013202":"nempties - synonym of filterNempty - only non-empty strings","1014222":"wordTreeAdd","1014758":"parseFunctionCall - synonym of tok_parseFunctionCall","1014759":"toLowerIfIdentifier","1014760":"wordTree - make empty word tree","1014761":"ciClusters - case-insensitive clusters","1014762":"ciClusters_add - add relations to a cluster list","1014763":"javaTokWithAngleBracketsC","1014764":"translateUsingWordTreeC - works on code token parses","1014767":"squareBracket","1014768":"upperCaseVarsToDollarVars","1014769":"startingWithEndingWith_drop - drop prefix & suffix","1014770":"dontPrint function - stand-in for print()","1014771":"Rule Engine [Include]","1014773":"ruleEngine_tokenToProlog","1014775":"indexOfSubListLL","1024021":"with - synonym of withComputing"} at main.fail(m1008705.java:1589) at main$jsonDecode_Y.fail_base(m1008705.java:14008) at main$jsonDecode_Y.fail(m1008705.java:14006) at main$jsonDecode_Y.parseExpr(m1008705.java:14058) at main$jsonDecode_Y.parse(m1008705.java:14012) at main.jsonDecode(m1008705.java:13990) at main.jsonDecodeMap(m1008705.java:12844) at main.getSnippetTitles(m1008705.java:10820) at main$JavaXHyperlinker.codeToHTML(m1008705.java:6209) at main.html2(m1008705.java:85) at main.html(m1008705.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.callOpt_withVarargs(m1008705.java:4387) at main.callOpt(m1008705.java:3326) at main.callHtmlMethod2(m1008705.java:11404) at main$MyHTTPD$1.get(m1008705.java:7337) at main$MyHTTPD$1.get(m1008705.java:1) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.safeCallF(m1008705.java:642) at main.callF(m1008705.java:611) at main$MyHTTPD.serve(m1008705.java:7373) at main$NanoHTTPD.serve_2(m1008705.java:9572) at main$NanoHTTPD.serve(m1008705.java:9553) at main$NanoHTTPD$HTTPSession.execute(m1008705.java:8453) at main$NanoHTTPD$ClientHandler.run(m1008705.java:7829) at java.base/java.lang.Thread.run(Thread.java:833)

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014771
Snippet name: Rule Engine [Include]
Eternal ID of this version: #1014771/13
Text MD5: 950578db2ebe0cbc4096479bdb940fc9
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-02 09:58:03
Source code size: 5016 bytes / 176 lines
Pitched / IR pitched: No / No
Views / Downloads: 729 / 1313
Version history: 12 change(s)
Referenced in: [show references]