Re^2: poll ideas quest 2021
by haukex (Archbishop) on Aug 17, 2021 at 14:31 UTC
|
| [reply] [Watch: Dir/Any] [d/l] [select] |
|
Yes, strongly agree with your point about the impossibility of performing a static parse of Perl. Very annoying.
Thankfully, this has been fixed in Raku.
Years ago, I remember being in awe of adamk's tenacity in developing PPI after attending a few early talks at Sydney.pm --
sadly, that heroic effort may have burnt him out, at least he appears to have vanished from the Perl universe.
And I almost fell off my chair when I first read about TheDamian's astonishing PPR regex wizardry. :)
See also: Re: Perl script compressor by haukex - which mentions Guacamole.
| [reply] [Watch: Dir/Any] |
|
Guacamole
I think it's noteworthy that the goal of that module is not to be able to parse all of Perl, just the subset of "standard Perl". So for example, it doesn't allow -bareword, stringy eval, unquoted hash keys on the left of the fat comma, and several more, but not because of technical limitations of the parser, but for policy reasons. I've suggested that the technical and policy based restrictions be disentangled to allow for easier porting of codebases to a parseable Perl, but I'm currently not sure when or if that might happen.
Of course also noteworthy is RPerl, which I believe implements its own parser.
| [reply] [Watch: Dir/Any] [d/l] |
|
|
|
Re^2: poll ideas quest 2021
by haj (Vicar) on Aug 17, 2021 at 13:24 UTC
|
Too late ! ;)
In June this year, Neil Bowers initiated a collection of Perl quirks, or: "Perl: the WTF bits" on the P5P mailing list. The document is locked down while the Perl Steering Council are wading through the first round, but perhaps some entries in the list above have a chance to be deprecated, and eventually (read: before the end of this century) be eradicated from Perl. Or you might want to add them, once the collection reopens.
| [reply] [Watch: Dir/Any] |
|
Thanks. I'll keep my eye on Neil's Perl Quirks
locked down document
and update this node when it's finally made public.
Meanwhile, please feel free to add your suggestions to my initial list.
Note to pollsters: please hold off creating a poll on this topic until Neil's document is made public.
Update Oct 2022: The Perl Quirks document appears to be stalled. p5p mailing list refs:
Looks like it won't make poll ideas quest 2022. Perhaps resurrect in 2023.
Update Nov 2023: Given this document still appears to be stalled, it seems safe to assume
that it will never be made public.
| [reply] [Watch: Dir/Any] |
Re^2: poll ideas quest 2021
by Discipulus (Canon) on Aug 17, 2021 at 20:35 UTC
|
Perl has misfeatures? Really? Ok it has some fun bit..
By other hand I hope for it a Miss Future ;)
L*
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
| [reply] [Watch: Dir/Any] |