Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7934L/55K).
!7 sclass ThoughtSpaces { new L<ThoughtSpace1> spaces; new L<ThoughtSpace1> activeSpaces; void add(ThoughtSpace1 ts) { spaces.add(ts); activeSpaces.add(ts); } bool think() { ThoughtSpace1 ts = first(activeSpaces); if (ts == null) false; activeSpaces.remove(ts); ts.think(true); true; } } p-exp { new ThoughtSpace1 ts; ts.setInput("let's have a cup of Joe"); ts.add(Definition("let's have", "a grouping prefix")); ts.addStepper(ts1_applyGroupingPrefix()); ts.lookingFor.add(ProposeRewrite); new ThoughtSpaces spaces; spaces.add(ts); while (spaces.think()); }
Began life as a copy of #1017048
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: | #1017050 |
| Snippet name: | Multiple Thought Spaces Spike (dev.) |
| Eternal ID of this version: | #1017050/4 |
| Text MD5: | 7a22b5f71455cca7f43ba8bdcb380903 |
| Transpilation MD5: | ba869fa5caf5c4a415d384286a34cc83 |
| 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 14:30:44 |
| Source code size: | 650 bytes / 30 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 685 / 1545 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |