Uses 1314K of libraries. Click here for Pure Java version (4074L/30K/95K).
!752 p { loadPage_debug = true; // see if we are using gzip S java = getServerTranspilation("#1004930"); L<S> tok = javaTok(java); // TODO: change static fields & methods in inner classes // (kinda hard). We need to find out what every token in // such a method references, also pass in a reference to main. // Alternatively: Move all those methods to main, and fix // references inside of them. That might be doable. // We need a Java destructurer (field & method finder). // Idea: Find all static fields & methods in inner classes. // Then rename references to them, both inside the class and in main. jreplace(tok, "static", ""); jreplace1(tok, "main.", "main.this."); jreplace1(tok, "main.this.class", "main.this"); S src = join(tok); editJavaX(src); javaCompile(src); print("Compiles!"); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004945 |
Snippet name: | Dynamizer Test [turn program into an object] |
Eternal ID of this version: | #1004945/1 |
Text MD5: | 8653f4dc7d9e29978c5d48fa30c2b9ae |
Transpilation MD5: | 7eb1518dd2a7912f6faf38167140442f |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-09-18 16:08:14 |
Source code size: | 876 bytes / 28 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 686 / 760 |
Referenced in: | -