Dive Deep into Creativity: Discover, Share, Inspire
Fixed the bug. The problem was that it was seeing
\n}\nD.DIE();
and it was checking if the text up to the next semicolon ended with .DIE() and if it did, using the stuff before the . as the variable name. When it should have been seeing the } and jumping back.
Also there may have been a problem with the {} matching. If so, that was fixed too. It was not the last part to be fixed.
BUT ANYWAY: The bug is fixed now.
runs in python 2.7
If you have a different version of python, and it is incompatible, please tell me. If a sufficient number of people want it in a different python version I might make a version of it for multiple python versions.