static void ai_spec_answerExternalQuestion(S question) { S q = unquote(question); ai_spec_switcheroo(q); S q2 = ai_text(q, "switcheroo", "$X"); if (q2 == null) ret; ai_speculate(q2); S a = ai_text("$X", "answers", q2); if (a == null) ret; // Optional switcheroo back ai_spec_switcheroo(a); S a2 = or(ai_text(a, "switcheroo", "$X"), a); ai_postTriple(a2, "answers external question", question); }
Began life as a copy of #1011648
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, ppjhyzlbdabe, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011863 |
Snippet name: | ai_spec_answerExternalQuestion |
Eternal ID of this version: | #1011863/6 |
Text MD5: | 0434856c0645ae134f9f92aae5112d3c |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-08 18:38:34 |
Source code size: | 437 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 484 / 512 |
Version history: | 5 change(s) |
Referenced in: | [show references] |