Skip Menu |

This queue is for tickets about the Language-Expr CPAN distribution.

Report information
The Basics
Id: 87880
Status: rejected
Priority: 0/
Queue: Language-Expr

People
Owner: Nobody in particular
Requestors: miro [...] hroncok.cz
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.19
  • 0.20
  • 0.21
Fixed in: (no value)



Subject: Regexp::Grammars is unsupported under Perl 5.18
In Perl 5.18, I've got a lot's of those messages: Warning: Regexp::Grammars is unsupported under Perl 5.18. Perl 5.18 changed how 'qr' constant overloadings are parsed and the scope in which they are subsequently compiled. This change appears to make it impossible to reliably create 'qr' overloadings that inject code blocks into a regex, as it prevents the overloaded regexes from compiling properly in many cases, even with an explicit 'use re "eval"' in scope. In a few cases, the use of a 'qr' overloading causes Perl 5.18 to segfault. Because Regexp::Grammars relies on 'qr' overloads to inject code blocks into regexes, the module is not compatible with Perl 5.18. It may continue to work in some limited cases, but is no longer reliable. So far we have been unable to find a workaround for this fundamental incompatibility, and there seems little prospect of a fix unless the behaviour of regex parsing/compilation is changed again in some future release of Perl. At present, if you rely on Regexp::Grammars for your parsing needs, your alternatives are either not to upgrade to Perl 5.18, or else to consider switching to another parsing system, such as Marpa. We deeply regret that Regexp::Grammars can no longer be maintained due to these backwards-incompatible changes in Perl 5.18. And the tests fails (see attachment). Is there some workaround? Other than the obvious, downgrading Perl. Thanks.
Subject: build.log

Message body is not shown because it is too large.

On Thu Aug 15 13:03:54 2013, https://www.google.com/accounts/o8/id?id=AItOawmml-mAWxLuUS3hcfZV_aPaTTY4C6v-fLY wrote: Show quoted text
> In Perl 5.18, I've got a lot's of those messages: > > Warning: Regexp::Grammars is unsupported under Perl 5.18. > Perl 5.18 changed how 'qr' constant overloadings are parsed > and the scope in which they are subsequently compiled. This > change appears to make it impossible to reliably create 'qr' > overloadings that inject code blocks into a regex, as it > prevents the overloaded regexes from compiling properly in > many cases, even with an explicit 'use re "eval"' in scope. > In a few cases, the use of a 'qr' overloading causes Perl > 5.18 to segfault. > Because Regexp::Grammars relies on 'qr' overloads to inject > code blocks into regexes, the module is not compatible with > Perl 5.18. It may continue to work in some limited cases, > but is no longer reliable. > So far we have been unable to find a workaround for this > fundamental incompatibility, and there seems little prospect > of a fix unless the behaviour of regex parsing/compilation > is changed again in some future release of Perl. At present, > if you rely on Regexp::Grammars for your parsing needs, your > alternatives are either not to upgrade to Perl 5.18, or else > to consider switching to another parsing system, such as Marpa. > We deeply regret that Regexp::Grammars can no longer be > maintained due to these backwards-incompatible changes in > Perl 5.18. > > And the tests fails (see attachment). Is there some workaround? Other > than the obvious, downgrading Perl.
See the p5p thread, especially <http://www.nntp.perl.org/group/perl.perl5.porters/;msgid=CAATtAp7gmiU3rsPGY51wE7HfZyV-SU08vqn0DE=6E6CabQVKVQ@mail.gmail.com> and <http://www.nntp.perl.org/group/perl.perl5.porters/;msgid=20130817231040.GF31643@fysh.org>. There is hope on the horizon. :-)
Setting this to rejected, because this is an issue with RG & perl 5.18, not with LE itself.
Subject: Re: [rt.cpan.org #87880] Regexp::Grammars is unsupported under Perl 5.18
Date: Thu, 5 Sep 2013 05:50:14 +0200
To: bug-Language-Expr [...] rt.cpan.org
From: Miro HronĨok <miro [...] hroncok.cz>
Right, thanks. Dne 5.9.2013 5:44 "steven haryanto via RT" <bug-Language-Expr@rt.cpan.org> napsal(a): Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=87880 > > > Setting this to rejected, because this is an issue with RG & perl 5.18, > not with LE itself. >