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

14
LINES

< > BotCompany Repo | #1010903 // Reason about chat, preliminary experiment [OK]

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

Download Jar. Libraryless. Click here for Pure Java version (15528L/112K).

!7

p {
  autoRestart(5);
  Web web = loadWeb('ezhntsdsromojwmh);
  for (WebNode node : web_nodesStartingWith(web, "Text ")) {
    print("Found: " + web_unquoteLastToken(node));
    WebNode next = web_operand(node, 'then);
    print("Next: " + next);
    if (match("yes", web_unquoteLastToken(next)))
      web_addRelation(next, node, 'answers);
  }
  showWeb(web);
}

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: #1010903
Snippet name: Reason about chat, preliminary experiment [OK]
Eternal ID of this version: #1010903/8
Text MD5: cd0783128dc4737cdc4d9c5ed905c292
Transpilation MD5: 09fad88203e6a18082234bbea852fb61
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-08 19:37:26
Source code size: 380 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 420 / 1096
Version history: 7 change(s)
Referenced in: [show references]