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

1  
!7
2  
3  
p {
4  
  if (!stefansPC()) typicalDownload();
5  
  autoRestart(5);
6  
  
7  
  addTransientWeb(webFromTriples("chat lines | #get number", "transforms with", "f randomNumber"));
8  
  
9  
  S input = "how many chat lines are there?";
10  
  WebNode node = ai_first(ai_lookupOperation(input, "transform to"));
11  
  assertNotNull("huh", node);
12  
  web_barsToNewLines(node);
13  
  print(web_texts(node));
14  
}
15  
16  
static int randomNumber() {
17  
  ret random(1, 1000);
18  
}

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