Of course, there should be some more logic added, as most code that gets posted, won't compile. That's why it was posted in the first place. But then again,
the analyzer should simply lean more towards code than towards text, because a monospaced text is far easier to read than vario-spaced and line-joined
I thought of that, but if you are taking it line-by-line (rather than whole post), any program of more than a few lines will have plenty of lines that compile.
eval's, even if it doesn't do much. That's why I thought the code was so nicely elegant. You don't need much logic.