static bool veryQuickJava_silent = true; static bool veryQuickJava_useCompilerBot; // mainJava is a complete program, but without the !752/!759 at the top // returns link to main class static Class veryQuickJava2(S mainJava) { transpileRaw_silent = veryQuickJava_silent; S src = transpileRaw(mainJava); // transpiled, with lib references new L<S> libs; src = findTranslators2(src, libs); //print("Libs found: " + struct(libs)); S dehlibs = join(" ", libs); File bytecode = null; if (veryQuickJava_useCompilerBot) pcall { bytecode = javaCompile_overBot(src, dehlibs); } if (bytecode == null) bytecode = javaCompile(src, dehlibs); ret hotwireCore(concatLists(ll(bytecode), loadLibraries(libs))); }
Began life as a copy of #1003849
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003866 |
Snippet name: | veryQuickJava2 - transpile, compile, load a short code snippet - adding lib support |
Eternal ID of this version: | #1003866/1 |
Text MD5: | 76c2536eefe6bfe37d61a75881dd526f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-11-19 13:12:32 |
Source code size: | 753 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 638 / 611 |
Referenced in: | #1004110 - javaxToClasses - transpile and compile a full JavaX source #1005577 - veryQuickJava3 - transpile, compile, load a short code snippet - uses class CompilerBot #1006654 - Standard functions list 2 (LIVE, continuation of #761) |