I don't understand what you mean by parsing if not what the interpreter does. Can you give an example?
A friend at an old job had a piece of perl code where one of the lines would be a comment or not when you ran it, depending on user input. He would bring it out whenever someone suggested writing something in perl.