Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1028853 // ai_sharedWordsIntoDollarVars

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3478L/22K).

static BasicLogicRule<S> ai_sharedWordsIntoDollarVars(BasicLogicRule<S> r) {
  LS words = antiFilter isDollarVar(sharedWords(r.lhs, r.rhs));
  SS map = ciMapWithUnusedCountingDollarVars(words, linesLL(r.lhs, r.rhs));
  ret mapBasicLogicRule(r, s -> replaceCodeTokensUsingMap(s, map));
}

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: #1028853
Snippet name: ai_sharedWordsIntoDollarVars
Eternal ID of this version: #1028853/1
Text MD5: 06db3c59a77ca1eca87b6a4508a68be7
Transpilation MD5: 17c4bde7508fa27ba674e059ac384128
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-09 23:16:59
Source code size: 290 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 122 / 194
Referenced in: [show references]