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

10
LINES

< > BotCompany Repo | #1006037 // makeJavaEvalBot

JavaX fragment (include)

static Android3 makeJavaEvalBot(S name) {
  ret makeBot(name, new O {
    S answer(S s) {
      new Matches m;
      if "please eval java *"
        ret "ok " + structure(evalJava($1));
      null;
    }
  });
}

Author comment

Began life as a copy of #1006036

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006037
Snippet name: makeJavaEvalBot
Eternal ID of this version: #1006037/1
Text MD5: 03ed22374c1dbdc879449404d48815c5
Author: stefan
Category: javax / rpc
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-15 08:12:50
Source code size: 220 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 496 / 501
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)