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

23
LINES

< > BotCompany Repo | #1008735 // Test live-wiring auto-including original source [WORKS]

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

Libraryless. Click here for Pure Java version (5525L/38K/124K).

1  
!7
2  
3  
sS extensionCode = [[
4  
  sclass ext {
5  
    svoid yo {
6  
      print("Yo!");
7  
      function();
8  
    }
9  
  }
10  
]];
11  
12  
p {
13  
  //liveWire(mySource() + "\n" + extensionCode);
14  
  S src = mySource() + "\n" + extensionCode;
15  
  S java = transpileRaw_dropLibs(src);
16  
  saveProgramTextFile("main.java", java);
17  
  liveWire_java(java);
18  
  call(getClass("main$ext"), "yo");
19  
}
20  
21  
svoid function {
22  
  print("I'm here");
23  
}

Author comment

Began life as a copy of #1008731

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: #1008735
Snippet name: Test live-wiring auto-including original source [WORKS]
Eternal ID of this version: #1008735/5
Text MD5: b3d44f11a490943e57a29f9dd8dc05cf
Transpilation MD5: 78b132765870cb3872df455e36510e84
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-28 23:50:01
Source code size: 411 bytes / 23 lines
Pitched / IR pitched: No / No
Views / Downloads: 454 / 559
Version history: 4 change(s)
Referenced in: [show references]