Vekyization challenge
Can you write a program with the following properties?
- Takes a string describing a python program as input.
- Outputs another string also describing a python program.
- The two programs are equivalent, i.e. they behave in the same way.
- The output doesn't contain a newline character, i.e. it's a one-liner.
- The length of the output is at most a constant times the length of the input.
- The runtime of the output is at most a constant times the runtime of the input.
- If the input doesn't contain eval-like constructs, the output doesn't either.