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

8
LINES

< > BotCompany Repo | #762 // jquick - run Java code on the command line

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

Libraryless. Click here for Pure Java version (1783L/13K/41K).

!752

p {
  S main = join(" ", args); // let's check if this works with quotes
  O o = veryQuickJava("p { " + tok_addSemicolon(main) + " }");
  setOpt(o, "getProgramName_cache", "User Code");
  callMain(o);
}

Author comment

Began life as a copy of #1004387

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #762
Snippet name: jquick - run Java code on the command line
Eternal ID of this version: #762/1
Text MD5: f6166d647816b8cfb2e81e8895f3ba18
Transpilation MD5: cf9b8ffbdfd859e72f11164abebc5122
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-15 14:51:44
Source code size: 215 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 637 / 729
Referenced in: [show references]