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

!7

concept PNGFile {}
static PNGFile fastLoadPNGFile(Object o) { ret null; }

sS questions = [[
  Is your product software?
  Is your product hardware?
  Is your product a fluffy penguin?
]];

sS facts = [[
  My product is a C compiler
  A C compiler is software
]];

sS rules = [[
  Always: (Q: Is your product X?) & (My product is Y) & (Y is X) => A: Yes
  Always: (Q: X) & (There is no statement with operator nywfcwkkcknzhmdy.) => A: I don't know

  anmjmlkwmjbzbiss - Always: X
  ufzlismnlhvbjqoj - (X) and (Y) and (Z) and (AA) and (AB) => (AC)
  phkdhqkhzytkwdpb - (X) and (Y) and (Z) and (AA) => (AB)
  cntevdawguaaxqmn - (X) and (Y) and (Z) => (AB)
  eijdjqhyzheusetj - (X) and (Y) and (Z) => (AA)
  jkbzwuwirpbvfzhy - (X) & (Y) & (Z) => AA
  mwpbetwhkuuuupws - X and Y and Z => AA
  txsysipmstxmjhmi - (X) and (Y) => (Z)
  cuutddpitkuswthu - While (X) => (Y)
  kecvwixuouqlpzhu - (X) and (Y) => Z
  tusgcjefvtgebzba - (X) & (Y) => Z
  wziyypnyayfphdxs - (X) => (Y)
  chkfkshhwshoauan - X => Y
  mcoswmplpqlieruo - (X)
  zhoulgsatpswstfa - There is no statement with operator X.
  
  vouwrrhtmajsgaby - Q: X
  nywfcwkkcknzhmdy - A: X
  
  ypenmdohuvmyfabd - Is your product X?
  wcwlqvvrpdwjzfms - X is Y
  kxlzhendchftgjqh - No X where (Y)
  zhahnerfmvfdqkxd - It's X
  zqxoghyhhhfgziob - I don't know
]];

p {
  myTruthNonPersist(facts + rules);
  lispSolveQuestionsVerbose(questions);
}

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