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).

!7

sS extensionCode = [[
  sclass ext {
    svoid yo {
      print("Yo!");
      function();
    }
  }
]];

p {
  //liveWire(mySource() + "\n" + extensionCode);
  S src = mySource() + "\n" + extensionCode;
  S java = transpileRaw_dropLibs(src);
  saveProgramTextFile("main.java", java);
  liveWire_java(java);
  call(getClass("main$ext"), "yo");
}

svoid function {
  print("I'm here");
}

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: 428 / 531
Version history: 4 change(s)
Referenced in: [show references]