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: 825 / 3088
Referenced in: #619 - Standard Classes Adder (LetterLayout, CenteredLine) - shortened
#641 - Standard Classes Adder (_x14)
#686 - Add class JavaTok
#1000271 - Standard Classes Adder (LetterLayout, CenteredLine) - shortened
#1000272 - Standard Classes Adder (x9)
#1000280 - Standard Classes Adder (x12)
#1000300 - Standard Classes Adder (Lexicon)
#1000302 - Standard Classes Adder (Lexicon, Java20)
#1000305 - Standard Classes Adder (JSONTokenizer)
#1000363 - Standard Classes Adder (_x16)
#1000515 - Standard Classes Adder (Lexicon, fixing)
#2000341 - Standard Classes Adder (LetterLayout, CenteredLine) - shortened
#3000190 - Answer for stefanreich(>> t 20 questions)
#3000382 - Answer for ferdie (>> t = 1, f = 0)