static L replaceCodeTokensUsingMap(L tok, SS map) { new L out; for i over l: { out.add(odd(i) ? lookupOrKeep(map, l.get(i))); } ret out; }