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

5
LINES

< > BotCompany Repo | #1023167 // switcheroo_iToName

JavaX fragment (include)

sS switcheroo_iToName(S name, S s) {
  SS map = combinedMechMapForCurrentLanguages("Switcheroo I -> $name");
  map = mapValues(map, x -> replaceIC(x, "$name", name));
  ret translateUsingWordTree(s, mapToWordTree(map));
}

Author comment

Began life as a copy of #1023080

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: #1023167
Snippet name: switcheroo_iToName
Eternal ID of this version: #1023167/4
Text MD5: 36917b3cce2e8e1e950fda354e1394e5
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:15
Source code size: 225 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 263 / 288
Version history: 3 change(s)
Referenced in: [show references]