static S ai_autoApplyRules(S input) ctex { temp temp_ai_setVar("#input", input); L<S> rules = ai_texts_verified("$X", "is", "an auto-apply rule"); ai_prepLoadFunctions(); Class c = loadFunctions_cached(rules); for (S ruleName : rules) { print("Calling rule function: " + ruleName); try answer (S) pcallOpt(c, ruleName); } null; }
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: | #1013427 |
Snippet name: | ai_autoApplyRules |
Eternal ID of this version: | #1013427/6 |
Text MD5: | 4c2d8049bf01d69d272e9bf9ea742d5b |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-06 07:21:05 |
Source code size: | 361 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 349 / 398 |
Version history: | 5 change(s) |
Referenced in: | [show references] |