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

!7

p {
  O bot = hotwire(#1007900);
  L<AIConcept> concepts = cast unstructure(loadPage("http://ai1.lol/wiki/structure/concepts"));
  for (AIConcept c : concepts) {
    S a = callStaticAnswerMethod(bot, c.name);
    if (nempty(a)) {
      print(c.name);
      print("  => " + a);
    }
  }
}

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: 595 / 689
Version history: 2 change(s)
Referenced in: [show references]