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

14
LINES

< > BotCompany Repo | #617 // Standard classes adder maker (JavaX translator)

JavaX translator [tags: use-pretranspiled]

Transpiled version (185L) is out of date.

// standard function adder, auto importer
!595 592

public class main {
  public static void main(String[] args) throws Exception {
    print "Translator starting"
    String s = loadMainJava();
    String code = loadSnippet("#2000509"); // load template
    String replacement = "standardClasses = {" + s + "}";
    code = code.replace("standardClasses = {}", replacement);
    saveMainJava(code);
    print "Translator done"
  }
}

Author comment

Began life as a copy of #598

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, qbtsjoyahagl, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #617
Snippet name: Standard classes adder maker (JavaX translator)
Eternal ID of this version: #617/1
Text MD5: c046461d4ed864ee17a6153b27cb3764
Author: stefan
Category: javax
Type: JavaX translator
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-09 22:44:15
Source code size: 445 bytes / 14 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 823 / 3086
Referenced in: [show references]