1 | static S ai_autoApplyRules(S input) ctex { |
2 | temp temp_ai_setVar("#input", input); |
3 | L<S> rules = ai_texts_verified("$X", "is", "an auto-apply rule"); |
4 | ai_prepLoadFunctions(); |
5 | Class c = loadFunctions_cached(rules); |
6 | for (S ruleName : rules) { |
7 | print("Calling rule function: " + ruleName); |
8 | try answer (S) pcallOpt(c, ruleName); |
9 | } |
10 | null; |
11 | } |
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: | 351 / 400 |
Version history: | 5 change(s) |
Referenced in: | [show references] |