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

5
LINES

< > BotCompany Repo | #1023170 // switcheroo_youToName

JavaX fragment (include)

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

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: #1023170
Snippet name: switcheroo_youToName
Eternal ID of this version: #1023170/3
Text MD5: a353cfc2538bffca4ed9e8c8dd60247a
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:27:54
Source code size: 229 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 193 / 213
Version history: 2 change(s)
Referenced in: [show references]