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

18
LINES

< > BotCompany Repo | #1011004 // How many... [dev.]

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

Download Jar. Libraryless. Click here for Pure Java version (14572L/103K).

!7

p {
  if (!stefansPC()) typicalDownload();
  autoRestart(5);
  
  addTransientWeb(webFromTriples("chat lines | #get number", "transforms with", "f randomNumber"));
  
  S input = "how many chat lines are there?";
  WebNode node = ai_first(ai_lookupOperation(input, "transform to"));
  assertNotNull("huh", node);
  web_barsToNewLines(node);
  print(web_texts(node));
}

static int randomNumber() {
  ret random(1, 1000);
}

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: #1011004
Snippet name: How many... [dev.]
Eternal ID of this version: #1011004/9
Text MD5: 148b3390df70de8cb553d72b0a0caf33
Transpilation MD5: ace48aeb4fa503d8f03362a3ec7a1e33
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-11 17:37:18
Source code size: 443 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 452 / 1127
Version history: 8 change(s)
Referenced in: [show references]