Skip to content

Update use of PerlTerm for PPR ≥ v0.001000#11

Open
zmughal wants to merge 2 commits intoshadow-dot-cat:masterfrom
zmughal:ppr-0.001000-perlterm
Open

Update use of PerlTerm for PPR ≥ v0.001000#11
zmughal wants to merge 2 commits intoshadow-dot-cat:masterfrom
zmughal:ppr-0.001000-perlterm

Conversation

@zmughal
Copy link

@zmughal zmughal commented Aug 4, 2022

With the release of PPR v0.001000 there is a backwards incompatible
change in the definition of the PerlTerm rule to include postfix
arrows for dereferencing and methods.

This affects the plugin(s):

    $ git grep -lP '\b(Perl)?(Term|((ScalarAccess|ArrayAccess)(NoSpace)?))' lib/
    lib/Babble/Plugin/PostfixDeref.pm

@zmughal
Copy link
Author

zmughal commented Aug 4, 2022

No action needed on this yet. I'm consolidating the patches from all the PRs for a dev release.

zmughal and others added 2 commits August 8, 2022 20:03
With the release of PPR v0.001000 there is a backwards incompatible
change in the definition of the `PerlTerm` rule to include postfix
arrows for dereferencing and methods.

This affects the plugin(s):

    $ git grep -lP '\b(Perl)?(Term|((ScalarAccess|ArrayAccess)(NoSpace)?))' lib/
    lib/Babble/Plugin/PostfixDeref.pm
Newer PPR handles the postfix dereference in `PerlTerm` while
`PerlScalarAccess` handles indexing without any arrows.

This also addresses the issue of <shadow-dot-cat#3>.
This adds the tests from that PR (djerius++).

Co-authored-by: Diab Jerius <djerius@cfa.harvard.edu>
@zmughal zmughal force-pushed the ppr-0.001000-perlterm branch from d0c68c1 to c1ee5bb Compare August 9, 2022 00:03
zmughal referenced this pull request in zmughal/Babble Sep 4, 2022
Update use of PerlTerm for PPR ≥ v0.001000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant