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

Re: PSC #031 2021-07-30

Thread Previous | Thread Next
Yuki Kimoto
July 31, 2021 05:45
Re: PSC #031 2021-07-30
Message ID:
2021-7-31 1:24 Paul "LeoNerd" Evans <> wrote:

> Perl could maybe use that, or do something nicer, if we started making
> a distinction about colons and significant whitespace before/after to
> work out whether something is a label or not. And wouldn't it be nice
> to have a real AST and not rely on hacks like PLS or PPI/PPR... More on
> that another day perhaps.
> om/stores/leonerd/ <>

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.

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

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