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

1  
!7
2  
3  
p {
4  
  autoRestart(5);
5  
  Web web = loadWeb('ezhntsdsromojwmh);
6  
  for (WebNode node : web_nodesStartingWith(web, "Text ")) {
7  
    print("Found: " + web_unquoteLastToken(node));
8  
    WebNode next = web_operand(node, 'then);
9  
    print("Next: " + next);
10  
    if (match("yes", web_unquoteLastToken(next)))
11  
      web_addRelation(next, node, 'answers);
12  
  }
13  
  showWeb(web);
14  
}

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