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

7
LINES

< > BotCompany Repo | #1021642 // javaInterpret

JavaX fragment (include)

static O javaInterpret(S code) {
  if (canQuickEval(code)) ret quickEval(code);
  Pair<S, L<S>> p = tok_parseFunctionCall(code);
  if (p != null)
    ret callAndMake(p.a, toObjectArray(map javaEvalOrInterpret(p.b)));
  fail("Can't interpret: " + code);
}

Author comment

Began life as a copy of #1017575

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021642
Snippet name: javaInterpret
Eternal ID of this version: #1021642/1
Text MD5: 14b861275d19be79f15af617d59044a0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-23 00:38:20
Source code size: 260 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 268 / 304
Referenced in: [show references]