Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7625L/54K).
!7 sS defs = [[ A cup of water = A cup with water inside A cup of Peter = A cup that belongs to Peter A cup of glass = A cup that consists of glass A cup of style = A cup that has a lot of style a $a with $b inside = [implies] $b is smaller than a $a a $a that belongs to $b = [implies] $b is a person a $a that consists of $b = [implies] $b is a material a $a that has a lot of $b = [implies] $b is a property ]]; p-exp { new ThoughtSpace1 ts; ts.objects.add(Input("a cup of joe")); ts.addDefinitions(defs); ts.think(false); //ts.printDefinitionsForInput(); for (Definition d : ts.definitionsForInput()) { print("\nTrying definition " + sfu(d)); new ThoughtSpace1 ts2; ts2.objects.add(Input((S) d.rhs)); ts2.addDefinitions(defs); ts2.think(false); ts2.removeInitialObjects(); //pnlStruct(ts2.literalDefinitions()); pnlStruct(ts2.statements()); } }
Began life as a copy of #1017032
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017041 |
Snippet name: | Patterns Step 2, shortened [OK] |
Eternal ID of this version: | #1017041/2 |
Text MD5: | 09a7a12f4a05d46e316dbdeb81faa829 |
Transpilation MD5: | 822fd2d7eb53601cc8151d1696a58084 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-11 13:14:28 |
Source code size: | 948 bytes / 33 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 449 / 851 |
Version history: | 1 change(s) |
Referenced in: | [show references] |