Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1001828 // defaultTranslate

JavaX fragment (include)

static S defaultTranslate(S text) {
  Class javax = getJavaX();
  File x = makeTempDir();
  saveTextFile(new File(x, "main.java"), text);
  new L<File> libraries_out;
  new LS libraries2_out;
  File y = cast call(javax, "defaultTranslate", x, libraries_out, libraries2_out);
  if (y == null) return null;
  return loadTextFile(new File(y, "main.java"));
}

Author comment

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: 694 / 2147
Version history: 1 change(s)
Referenced in: [show references]