Libraryless. Click here for Pure Java version (11080L/77K/253K).
!7 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); }
Began life as a copy of #1008271
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: | #1008300 |
Snippet name: | What is your product? [WORKS] |
Eternal ID of this version: | #1008300/8 |
Text MD5: | 533a0ec4cddbfd92eb55a744ab0b6371 |
Transpilation MD5: | 6dcc7a3f86fa43a0e096190b4ef9d276 |
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 01:56:17 |
Source code size: | 1369 bytes / 47 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 554 / 959 |
Version history: | 7 change(s) |
Referenced in: | #1007510 - Intelligence Machine [no longer live] #1008313 - What is your product? [shrinking] #1008318 - What is your product? [shortened] |