fcn tokenize(str,sep,esc){ sink:=Sink(String); foreach c in (str){ sink.write( (c==esc and __cWalker.next()) or (c==sep and "\xff") or c ) } sink.close().split("\xff"); }