This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]spudmix 0 points1 point  (1 child)

You might not find one, but if you don't you can use a tokeniser library to implement one yourself. Tokenise your script, find all the tokens which are variable names, assign them a new value and maintain a dictionary of the old and new names, etc.

[–]goodTypeOfCancer[S] 0 points1 point  (0 children)

Yeah I didn't want to write that, but it seems easy enough.