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

5
LINES

< > BotCompany Repo | #1023186 // switcheroo_nameToI

JavaX fragment (include)

1  
sS switcheroo_nameToI(S name, S s) {
2  
  SS map = combinedMechMapForCurrentLanguages_inOrder("Switcheroo I -> $name");
3  
  map = mapValues(map, x -> replaceIC(x, "$name", name));
4  
  ret translateUsingWordTree(s, mapToWordTree(reverseCIMap_noOverwrite(map)));
5  
}

Author comment

Began life as a copy of #1023167

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023186
Snippet name: switcheroo_nameToI
Eternal ID of this version: #1023186/5
Text MD5: e37685fd6e3a30578493d58779665457
Author: stefan
Category: nl
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-24 19:42:30
Source code size: 259 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 276 / 315
Version history: 4 change(s)
Referenced in: [show references]