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

13
LINES

< > BotCompany Repo | #1007906 // Test loading concepts & applying bot

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

Libraryless. Click here for Pure Java version (7965L/52K/176K).

1  
!7
2  
3  
p {
4  
  O bot = hotwire(#1007900);
5  
  L<AIConcept> concepts = cast unstructure(loadPage("http://ai1.lol/wiki/structure/concepts"));
6  
  for (AIConcept c : concepts) {
7  
    S a = callStaticAnswerMethod(bot, c.name);
8  
    if (nempty(a)) {
9  
      print(c.name);
10  
      print("  => " + a);
11  
    }
12  
  }
13  
}

Author comment

Began life as a copy of #1007905

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: #1007906
Snippet name: Test loading concepts & applying bot
Eternal ID of this version: #1007906/3
Text MD5: ac00c2e47dc12bbf1add4b06898c0a08
Transpilation MD5: 6868219a208279053fc31e191208c37d
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-16 00:18:28
Source code size: 304 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 519 / 580
Version history: 2 change(s)
Referenced in: [show references]