mimic
mimic copied to clipboard
Mode to mimic strings only
To move most of the fun to runtime rather than compile or IDE issues, offer a mode to only mimic strings.
This is possible using an AST transformer... I can attempt to implement this tonight.
Oh, nevermind, just realized that would mean that there would be a requirement for python source files.
I might do it using this regex: "[^"\\]*(?:\\.[^"\\]*)*"
to search for quoted literals, allowing for respecting escaped quotes.