Well in the number-script compiler, it verifies code by running it (I'm not sure if that qualifies).
Also, you would get stuck on code with infinite loops.
Also, you would get stuck on code with infinite loops.
So it seems documenting is the real work, and programming is something that can be automated :)
Or you could just set a timeout.