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

1  
!7
2  
3  
sbool printCode = false;
4  
5  
set flag OurSubLists.
6  
set flag NoIllegalAccesses.
7  
8  
p {
9  
  S code = l(args) == 1 && isQuoted(args[0]) ? unquote(args[0]) : joinWithSpace(args);
10  
  if (printCode) {
11  
    print("=> " + code);
12  
    print();
13  
  }
14  
  
15  
  set transpileRaw_verySilent;
16  
  O prep;
17  
  try {
18  
    temp temp_loadPage_silent();
19  
    prep = evalJava_fullPrep(code);
20  
  } catch e { ret with printException(e); }
21  
  print(evalJava_callCalc(prep));
22  
}

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: 715 / 2869
Version history: 20 change(s)
Referenced in: [show references]