by nothingmuch · 17y ago · 0 comments
just because a pathological case is possible, doesn't mean that it's actually common, or even existent.
Similarly it's possible to prove that a certain block of code does nothing but link in such deterministic units, removing the nondeterminism of function prototypes.
Most of the source code out there can be parsed statically without resorting to anything drastic. The semantics of this hypothetical Perl 5 variant do differ, but as a strict subset it will still properly most of the useful code out there.
Also, what you're describing is no longer static parsing.