develooper Front page | perl.perl5.porters | Postings from July 2021

Re: PSC #031 2021-07-30

Thread Previous | Thread Next
Paul "LeoNerd" Evans
July 31, 2021 09:27
Re: PSC #031 2021-07-30
Message ID:
On Sat, 31 Jul 2021 14:45:10 +0900
Yuki Kimoto <> wrote:

> I think one reason Perl can't do static analysis is that the
> interpretation of the parentheses of a function depends on the
> loading of other modules.
> And another reason is there is a source filter.

The primary reason Perl can't do static analysis is that Perl isn't a
static language. It's a dynamic language ;)

> Is there a realistic way to get the AST with static analysis?

There's nice ways to get ASTs, yes. They will be of limited use for
"static analysis" because - see above - Perl is not a static language.

Paul "LeoNerd" Evans      |  |

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About