1 | static S defaultTranslate(S text) { |
2 | Class javax = getJavaX(); |
3 | File x = makeTempDir(); |
4 | saveTextFile(new File(x, "main.java"), text); |
5 | new L<File> libraries_out; |
6 | new LS libraries2_out; |
7 | File y = cast call(javax, "defaultTranslate", x, libraries_out, libraries2_out); |
8 | if (y == null) return null; |
9 | return loadTextFile(new File(y, "main.java")); |
10 | } |
Began life as a copy of #1001808
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001828 |
Snippet name: | defaultTranslate |
Eternal ID of this version: | #1001828/2 |
Text MD5: | e6e517ae02c1c01f22370a762c9262e3 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-01 15:29:54 |
Source code size: | 366 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 756 / 2218 |
Version history: | 1 change(s) |
Referenced in: | [show references] |