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

29
LINES

< > BotCompany Repo | #1011880 // Test transpiling for server (OK, needs upload function)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (5868L/40K).

!7

sS progID =
  // #1001167;
  #1010745;

p {
  S javax = loadSnippet(progID);
  print("Source: " + l(javax));
  
  S java = null;
  repeat 5 {
    time "Transpile" {
      //transpileRaw_silent = false;
      java = transpileRaw(javax);
      print("Transpiled: " + l(java));
      Map cachedIncludes = cast get(transpileRaw_trans, 'cachedIncludes);
      //print("Have cached includes: " + l(cachedIncludes) + " (" + className(cachedIncludes) + ", " + identityHashCode(transpileRaw_trans) + ")");
    }
  }
  
  new L<S> libs;
  java = findTranslators2(java, libs);
  print("Libs: " + joinWithComma(libs));

  S dehlibs = join(" ", libs);
  File bytecode = javaCompile_overInternalBot(java, dehlibs);
  print("Bytecode: " + f2s(bytecode));
}

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: #1011880
Snippet name: Test transpiling for server (OK, needs upload function)
Eternal ID of this version: #1011880/21
Text MD5: 0d906a1f06dcbbbf035eb5fba18ed126
Transpilation MD5: a1cdde8deebe2d0d937545e7c7955996
Author: stefan
Category: javax / transpiling
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-09 08:54:50
Source code size: 773 bytes / 29 lines
Pitched / IR pitched: No / No
Views / Downloads: 482 / 1248
Version history: 20 change(s)
Referenced in: #1011922 - Stefan's Assistant 2