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

12
LINES

< > BotCompany Repo | #1001786 // htmlBot function (make an HTML bot)

JavaX fragment (include)

1  
static void htmlBot(S name) {
2  
  Android3 a = new Android3(name);
3  
  a.responder = new Responder() {
4  
    S answer(S s, L<S> history) {
5  
      if (match3("get fresh html", s))
6  
        ret quote(unnull((S) callOpt(getMainClass(), "html")));
7  
      ret null;
8  
    }
9  
  };
10  
  
11  
  makeAndroid(a);
12  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001786
Snippet name: htmlBot function (make an HTML bot)
Eternal ID of this version: #1001786/1
Text MD5: 41f0d42c29094fc1dbb4b71bdd6cf360
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-14 18:55:27
Source code size: 296 bytes / 12 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 595 / 822
Referenced in: [show references]