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

50
LINES

< > BotCompany Repo | #1008313 // What is your product? [shrinking]

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

Libraryless. Click here for Pure Java version (10417L/73K/239K).

1  
!7
2  
3  
concept PNGFile {}
4  
static PNGFile fastLoadPNGFile(Object o) { ret null; }
5  
6  
sS questions = [[
7  
  Is your product software?
8  
  Is your product hardware?
9  
  Is your product a fluffy penguin?
10  
]];
11  
12  
sS facts = [[
13  
  My product is a C compiler
14  
  A C compiler is software
15  
]];
16  
17  
sS rules = [[
18  
  Always: (Q: Is your product X?) & (My product is Y) & (Y is X) => A: Yes
19  
  Always: (Q: X) & (There is no statement with operator nywfcwkkcknzhmdy.) => A: I don't know
20  
21  
  anmjmlkwmjbzbiss - Always: X
22  
  ufzlismnlhvbjqoj - (X) and (Y) and (Z) and (AA) and (AB) => (AC)
23  
  phkdhqkhzytkwdpb - (X) and (Y) and (Z) and (AA) => (AB)
24  
  cntevdawguaaxqmn - (X) and (Y) and (Z) => (AB)
25  
  eijdjqhyzheusetj - (X) and (Y) and (Z) => (AA)
26  
  jkbzwuwirpbvfzhy - (X) & (Y) & (Z) => AA
27  
  mwpbetwhkuuuupws - X and Y and Z => AA
28  
  txsysipmstxmjhmi - (X) and (Y) => (Z)
29  
  cuutddpitkuswthu - While (X) => (Y)
30  
  kecvwixuouqlpzhu - (X) and (Y) => Z
31  
  tusgcjefvtgebzba - (X) & (Y) => Z
32  
  wziyypnyayfphdxs - (X) => (Y)
33  
  chkfkshhwshoauan - X => Y
34  
  mcoswmplpqlieruo - (X)
35  
  zhoulgsatpswstfa - There is no statement with operator X.
36  
  
37  
  vouwrrhtmajsgaby - Q: X
38  
  nywfcwkkcknzhmdy - A: X
39  
  
40  
  ypenmdohuvmyfabd - Is your product X?
41  
  wcwlqvvrpdwjzfms - X is Y
42  
  kxlzhendchftgjqh - No X where (Y)
43  
  zhahnerfmvfdqkxd - It's X
44  
  zqxoghyhhhfgziob - I don't know
45  
]];
46  
47  
p {
48  
  myTruthNonPersist(facts + rules);
49  
  lispSolveQuestionsVerbose(questions);
50  
}

Author comment

Began life as a copy of #1008300

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: #1008313
Snippet name: What is your product? [shrinking]
Eternal ID of this version: #1008313/4
Text MD5: 215273f78975dbf773439893a5654abe
Transpilation MD5: 50aa07b07c32795065a382e71ade6e72
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-07 04:16:12
Source code size: 1447 bytes / 50 lines
Pitched / IR pitched: No / No
Views / Downloads: 611 / 687
Version history: 3 change(s)
Referenced in: [show references]