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

26
LINES

< > BotCompany Repo | #1008318 // What is your product? [shortened]

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

Libraryless. Click here for Pure Java version (11105L/77K/253K).

!7

sS questions = [[
  Is your product software? => Yes
  Is your product hardware? => I don't know
  Is your product a fluffy penguin? => I don't know
]];

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

  ypenmdohuvmyfabd - Is your product X?
  wcwlqvvrpdwjzfms - X is Y
  zhahnerfmvfdqkxd - It's X
]];

p {
  myTruthNonPersist(facts + standardConcepts() + rules);
  lispCheckQuestionsVerbose(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: #1008318
Snippet name: What is your product? [shortened]
Eternal ID of this version: #1008318/7
Text MD5: ea8acc49d77fcab2aa9e77f9c04f62e7
Transpilation MD5: 944887cc6ac6e486e3cd8926cdc08aab
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 18:54:45
Source code size: 645 bytes / 26 lines
Pitched / IR pitched: No / No
Views / Downloads: 515 / 560
Version history: 6 change(s)
Referenced in: [show references]