Re:Perl Cannot Be Parsed: A Formal Proof (2008)
by ah- on Sunday June 14, 2015 @09:38AM
(#9714839)
Building advanced tools like a static analyzer is much harder / partly impossible because you can't parse it without running it.
[ Parent
| on HN ]
Re:Perl Cannot Be Parsed: A Formal Proof (2008)
by sgrove on Sunday June 14, 2015 @11:18AM
(#9715163)
Abstract interpretation/symbolic execution should still work, but it would require basically reimplementing the semantics of perl, yes.
Re:Perl Cannot Be Parsed: A Formal Proof (2008)
by Someone on Sunday June 14, 2015 @03:09PM
(#9715995)
That still may be of little help in, say, a perl IDE, as the meaning of a program _can_ depend on the input it reads.
"But that will not happen in practice"
If you think that to be the case, use a language that _can_ be parsed. That makes life easier for implementers of IDE's, refactoring tools, etc. and costs you nothing (given the "that will not happen in practice" claim)