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

144
LINES

< > BotCompany Repo | #1017190 // Develop From Examples v3 [with function composition, OK]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (18077L/132K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_9phekbqfg65bqmr9c63bj8j1uq, 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)","1000736":"sleep function","1001067":"appendToFile","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001520":"eqic (short for equalsIgnoreCase)","1001788":"onEnter (on JTextField, JButton, JList, JComboBox, JTable, JTextArea) - also selects all on JTextField","1002108":"empty - extended synonym of isEmpty","1002284":"splitAtJavaToken - synonym of splitByJavaToken","1002288":"printStackTrace","1002644":"think function - synonym of miniChat","1003310":"setText - more flexible shorthand for JTextComponent\/JLabel\/JButton.setText() - uses AWT thread (and waits)","1003360":"splitAtEmptyLines - also covers lines containing spaces","1003363":"struct - short for structure","1003483":"callF + safeCallF - call a Runnable, func, voidfunc or function name","1004216":"T3 - value triple - synonym: Triple","1004219":"Pair - value pair; sorted by a, then b","1004220":"pair - make value pair","1004283":"listMinus - list minus some elements","1004434":"jlabel - make JLabel with automatic tooltip and popup menu","1004519":"f2s - same as File.getAbsolutePath(); returns null on null","1005162":"second function (get second element)","1005756":"jhsplit - make horizontal JSplitPane","1005768":"rtrimAll - right trim all strings in a list; or all lines in a string","1006228":"jSection - make lowered BevelBorder around component","1006319":"class ReliableSingleThread - triggers again reliably when one step is already running","1006329":"words - javaTokC after dropPunctuation","1006626":"vstackWithSpacing - stack components vertically","1006642":"getText - get entered text\/selected item from JTextComponent or JComboBox (thread-safe)","1006683":"awtEvery - synonym of swingEvery","1007248":"findButton - find JButton by its text","1007299":"addAndReturn - add element to a collection and return the element","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1007937":"F1 - function with one argument","1008468":"safeUnstruct - synonym of safeUnstructure (uses no user classes, just DynamicObject)","1008946":"sfu - synonym of structureForUser - structure() without too many back refs","1009156":"joinWithComma - join with \", \" separator","1011055":"uniquify - synonym of uniquifyList - keep order & remove duplicates","1011818":"callAndMake_orDirect - dynamically load standard function OR execute it in current program (if it's there)","1012632":"n2 - n2(3, \"item\") => \"3 items\". Also n2(1234) = \"1,234\"","1012997":"LineBuffer - characters in, lines out - not multi-threaded!","1013037":"tlftj - synonym of toLinesFullTrim_java - also drop Java comments","1013805":"replaceExtension","1013844":"localDateWithMilliseconds","1014234":"splitAtDoubleArrow_bothDirections - javaTok and split at \"=>\" (and trim) or \"<=\" (and reverse)","1014705":"jsection - synonym of jSection - make lowered BevelBorder around component","1014725":"add - add Component to Container, add element to collection, set bit in BitSet","1014811":"tempAfterwards - do something after current block ends (even if there is an exception) - i.e., add action to (imaginary) finally clause of current block","1015050":"unstruct - synonym of unstructure","1015772":"centerAndSouthWithMargins - make a BorderLayout with two components","1015892":"DynModule [base class for dynamic modules]","1015981":"F2 - function with two arguments","1016435":"DynTextArea","1016590":"withCenteredButtons","1016734":"clearPrintLog - clears program's local log","1017128":"dm_fieldTextField - JTextField bound to module field (both ways)","1017137":"dm_refreshTranspiler","1017162":"loadFunctions_preferDiskCache","1017163":"dm_printLogComponent - TODO: move to JFastLogView_noWrap","1017170":"ai_makeExamplesFile","1017171":"tempInterceptPrint","1017172":"worksOnAllExamples_returnCounterExample","1017175":"safeCanonicalizeStructure - safeUnstruct, then struct","1017176":"tok_multiLineQuotesToStandardQuotes","1017178":"forgetTranspiledStandardFunctions","1017182":"loadFunctions_clearCache","1017184":"PlanInMotion","1017187":"tempEnableButton","1017188":"dm_vis - synonym of dm_getVisualization","1017189":"standardFunctionsOnly"} 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)

Author comment

Began life as a copy of #1017185

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

-
Snippet ID: #1017190
Snippet name: Develop From Examples v3 [with function composition, OK]
Eternal ID of this version: #1017190/16
Text MD5: 27e0b7783028cc96b591935627eee783
Transpilation MD5: e488af1198ebe30f609d66c397f28729
Author: stefan
Category: javax / a.i.
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-20 11:13:52
Source code size: 5164 bytes / 144 lines
Pitched / IR pitched: No / No
Views / Downloads: 983 / 1564
Version history: 15 change(s)
Referenced in: