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

22
LINES

< > BotCompany Repo | #1006008 // j-eval - evalJava on command line (LIVE as java -jar x30.jar eval ...)

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

Download Jar. Libraryless. Click here for Pure Java version (13275L/83K).

!7

sbool printCode = false;

set flag OurSubLists.
set flag NoIllegalAccesses.

p {
  S code = l(args) == 1 && isQuoted(args[0]) ? unquote(args[0]) : joinWithSpace(args);
  if (printCode) {
    print("=> " + code);
    print();
  }
  
  set transpileRaw_verySilent;
  O prep;
  try {
    temp temp_loadPage_silent();
    prep = evalJava_fullPrep(code);
  } catch e { ret with printException(e); }
  print(evalJava_callCalc(prep));
}

Author comment

Began life as a copy of #1005408

download  show line numbers  debug dex  old transpilations   

Travelled to 19 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gjtlkbvenryc, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, omdjrrnzbjjv, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1006008
Snippet name: j-eval - evalJava on command line (LIVE as java -jar x30.jar eval ...)
Eternal ID of this version: #1006008/21
Text MD5: efd1cf891333b707f5b95b4660bd4789
Transpilation MD5: 8393005711f2ef10d63512e08e222d14
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-26 11:17:31
Source code size: 454 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 714 / 2866
Version history: 20 change(s)
Referenced in: [show references]