Uses 1113K of libraries. Click here for Pure Java version (13291L/72K).
!7 cmodule2 Transpiler > DynPrintLog { switchable bool silent = true; switchable bool showTrayIcon; S switchableFields() { ret 'silent; } start { dm_onSnippetTranspiled(voidfunc(S snippetID) { if (sameSnippetID(snippetID, defaultTranspilerID())) refresh(); }); dm_reloadOnFieldChange showTrayIcon(); if (showTrayIcon) dm_addTrayIcon_left(onClickAndPopupItem(jimage_16(#1101475), "Refresh Transpiler", rThread refresh)); } void mediumRefresh { veryQuickJava_mediumRefresh(); vmBus_send('refreshedTranspiler); print("Medium-refreshed translator."); } void refresh { veryQuickJava_refresh(); vmBus_send('refreshedTranspiler); print("Refreshed translator."); } S transpileRaw(S mainJava) { transpileRaw_silent = silent; ret main.transpileRaw(mainJava); } S transpileRaw(S mainJava, bool fragment, bool useDiskCache) { transpileRaw_silent = silent; ret main.transpileRaw(mainJava, fragment, useDiskCache); } O mc() { ret main.class; } L getTranspilerAndLock() enter { transpileRaw_silent = silent; transpileRaw_translator(); ret ll(transpileRaw_trans, transpileRaw_lock); } }
Began life as a copy of #1016755
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, hpgrupgrauku, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1017065 |
Snippet name: | Transpiler [Helper Dyn Module] |
Eternal ID of this version: | #1017065/18 |
Text MD5: | 3246f7e84daecad2ea52d6218ad49e10 |
Transpilation MD5: | 323be34b7fbd94efd52880aa42350965 |
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: | 2021-06-09 17:47:54 |
Source code size: | 1272 bytes / 51 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 516 / 603049 |
Version history: | 17 change(s) |
Referenced in: | [show references] |