static void ai_spec_applyRule(S rule) { AI_Rule r = ai_parseRule(rule); ret if r == null; L<SS> l = ai_texts_dollarAny_multi(r.antecedents); for (SS map : l) { S source = "Rule {" + rule + "} with " + struct(map); postWithSource(ai_replaceStandaloneVarsInTriple(r.consequent, map), source); } }
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: | #1012142 |
| Snippet name: | ai_spec_applyRule |
| Eternal ID of this version: | #1012142/5 |
| Text MD5: | 01ce95989738fa8dd818c2e53ca75ca0 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-11-21 19:45:28 |
| Source code size: | 324 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 648 / 680 |
| Version history: | 4 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |