1 | svoid philosophyBot1_addDeepReplacement(PhilosophyBot1 bot, S in, S out) { |
2 | if (bot.deepReplacements == null) { |
3 | bot.deepReplacements = ciMap(); |
4 | |
5 | // enable replacer |
6 | bot.anyCodeOnFacts.newA(fact -> |
7 | bot.addFact(gazelle_deepReplaceFullPhrases(bot.deepReplacements, fact))); |
8 | } |
9 | |
10 | bot.deepReplacements.put(in, out); |
11 | } |
Began life as a copy of #1027148
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027150 |
Snippet name: | philosophyBot1_addDeepReplacement (v1) |
Eternal ID of this version: | #1027150/1 |
Text MD5: | 08d8608dba8cdf9dfaf7b7cf2fd7d917 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-22 16:11:13 |
Source code size: | 346 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 160 / 178 |
Referenced in: | [show references] |