Transpiled version (262L) is out of date.
// Syntax: pcall { doFunnyStuff(); } !747 m { p { L<S> tok = javaTok(loadMainJava()); for (int i = 0; i < 100; i++) { int idx = findCodeTokens(tok, "pcall", "{"); if (idx < 0) break; int j = findEndOfBracketPart(tok, idx+2); tok.set(idx, "try"); tok.set(j-1, "} catch (Throwable __e) { printStackTrace(e); }"); } saveMainJava(join(tok)); } }
Began life as a copy of #1000805
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: | #1001188 |
Snippet name: | "pcall {" (JavaX translator, NOT the one used) |
Eternal ID of this version: | #1001188/1 |
Text MD5: | 0d5cc6fdcd329c623ca799b80a961a85 |
Author: | stefan |
Category: | |
Type: | JavaX translator |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-01-04 01:08:58 |
Source code size: | 440 bytes / 22 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 734 / 1129 |
Referenced in: | #636 - Resolve symbolic translator invocations #1001886 - "pcall {" (JavaX translator, shorter version) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |