Libraryless. Click here for Pure Java version (599L/5K/16K).
!747 m { p { L<S> tok = javaTok(loadMainJava()); tok = allToP(tok); tok = runTranslator(tok, "#747"); saveMainJava(tok); } // move contents of "m { }" into a new section "p { }" static L<S> allToP(L<S> tok) { L<S> m = findBlock("m {", tok); m.set(3, m.get(3) + "p {"); m.set(l(m)-2, "}" + m.get(l(m)-2)); ret javaTok(tok); // retokenize } }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001806 |
Snippet name: | Translator for #1001805 |
Eternal ID of this version: | #1001806/1 |
Text MD5: | d5e1bf8e520fe8f532c2c2fe7a7bb398 |
Transpilation MD5: | bf2e51468ef8222daba0910d38e71a58 |
Author: | stefan |
Category: | |
Type: | JavaX translator |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-11-19 17:02:00 |
Source code size: | 403 bytes / 18 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 769 / 1103 |
Referenced in: | [show references] |