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

23
LINES

< > BotCompany Repo | #1007884 // Compute stuff [dev.]

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (10656L/74K).

1  
!7
2  
3  
sS facts = [[
4  
  dxfxffxemdxzfxrp (aiwrjldimdxnmuyb "l_javaTokC") xsequcokjsslutzb
5  
]];
6  
7  
p-subst {
8  
  veryBigConsole();
9  
  useFacts_cl(facts);
10  
  setConsoleInput("xsequcokjsslutzb \"a b c\"");
11  
  botSleep();
12  
}
13  
14  
static S answer(S s) {
15  
  Lisp l = englishToLisp(s);
16  
  for (Map<S, Lisp> match : lispTruthMatches(
17  
    lisp("dxfxffxemdxzfxrp", lisp("aiwrjldimdxnmuyb", "x"), l.head),
18  
    "x")) {
19  
    S arg = l.raw(0);
20  
    ret str(makeAndCall(assertIdentifier(match.get("x").unq()), arg));
21  
  }
22  
  ret str(l);
23  
}

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: #1007884
Snippet name: Compute stuff [dev.]
Eternal ID of this version: #1007884/8
Text MD5: da3b14a9a6f3fdda5263129391405ae9
Transpilation MD5: 45373c9141687650807ed41f1e7549dc
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-04-13 18:41:16
Source code size: 522 bytes / 23 lines
Pitched / IR pitched: No / No
Views / Downloads: 696 / 1360
Version history: 7 change(s)
Referenced in: [show references]