Libraryless. Click here for Pure Java version (11105L/77K/253K).
1 | !7 |
2 | |
3 | sS questions = [[ |
4 | Is your product software? => Yes |
5 | Is your product hardware? => I don't know |
6 | Is your product a fluffy penguin? => I don't know |
7 | ]]; |
8 | |
9 | sS facts = [[ |
10 | My product is a C compiler |
11 | A C compiler is software |
12 | ]]; |
13 | |
14 | sS rules = [[ |
15 | Always: (Q: Is your product X?) & (My product is Y) & (Y is X) => A: Yes |
16 | Always: (Q: X) & (There is no statement with operator nywfcwkkcknzhmdy.) => A: I don't know |
17 | |
18 | ypenmdohuvmyfabd - Is your product X? |
19 | wcwlqvvrpdwjzfms - X is Y |
20 | zhahnerfmvfdqkxd - It's X |
21 | ]]; |
22 | |
23 | p { |
24 | myTruthNonPersist(facts + standardConcepts() + rules); |
25 | lispCheckQuestionsVerbose(questions); |
26 | } |
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: | 517 / 564 |
Version history: | 6 change(s) |
Referenced in: | [show references] |