No, it can't. If this is something you've seen "many times", would you mind providing an example? Show me a program that Ruby tries to execute without having been able to parse it.
if foo.something foo.instance_eval "SYNTAX ERROR" end
But perhaps what he meant was not a syntax error, but things like:
if foo.something foo.something_misspelled = bar end
No, it can't. If this is something you've seen "many times", would you mind providing an example? Show me a program that Ruby tries to execute without having been able to parse it.