Uses 108K of libraries. Compilation Failed (19354L/142K).
!7 !include once #1017126 // transpileRaw sclass JavaEval extends DynPrintLog { S expression; transient bool calculating; transient O value; transient JTextField tfInput; transient Throwable error; JComponent visualize() { ret northAndCenterWithMargins( centerAndEastWithMarginInbetween( tfInput = onEnter(jtextfield(expression), rThread evalIt), hstackWithSpacing( jbutton("Fresh", rThread { refresh(); evalIt() }), jbutton("Eval", rThread evalIt))), super.visualize()); } void refresh { call(dm_transpiler(), 'refresh); print("Refreshed translator."); } void evalIt { if (calculating) ret; calculating = true; temp tempAfterwards(r { calculating = false }); dm_javaEvalModule_doIt(gtt(tfInput)); } }
Began life as a copy of #1016083
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: | #1016755 |
Snippet name: | Java Eval [Evaluate Java Code, Dyn Module] |
Eternal ID of this version: | #1016755/27 |
Text MD5: | d68347ba99c84db199a6a0cb3445bf00 |
Transpilation MD5: | ced0cdaf912e8c670cf31eaa2bb98745 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-27 23:03:09 |
Source code size: | 842 bytes / 33 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 487 / 28086 |
Version history: | 26 change(s) |
Referenced in: | #1017065 - Transpiler [Helper Dyn Module] #1017551 - Multi-Line Java Eval [Evaluate Java Code] |