Re: [perl #36452] Re: [BUG] PGE recursion, bus error

2005-10-10 Thread Patrick R. Michaud
On Mon, Oct 10, 2005 at 10:45:54AM -0400, Matt Fowles wrote: > Perhaps a better approach would be to perform a bit > of static analysis on the grammar and look for left recursions at > creation time (I believe that is a known problem). Then we can just > warn once up front and go on our merry way

Re: [perl #36452] Re: [BUG] PGE recursion, bus error

2005-10-10 Thread Patrick R. Michaud
On Mon, Oct 10, 2005 at 09:11:02AM -0400, Matt Fowles wrote: > Patrick~ > > The theoretical implementation of this is quite simple. Keep a > counter. everytime a token is consumed from the input stream reset it. > Every time a rule is followed increment the counter. If the counter > is ever gre

Re: [perl #36452] Re: [BUG] PGE recursion, bus error

2005-10-10 Thread Matt Fowles
Patrick~ On 10/10/05, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > On Mon, Oct 10, 2005 at 10:45:54AM -0400, Matt Fowles wrote: > > Perhaps a better approach would be to perform a bit > > of static analysis on the grammar and look for left recursions at > > creation time (I believe that is a kn

Re: [perl #36452] Re: [BUG] PGE recursion, bus error

2005-10-10 Thread Matt Fowles
Patrick~ On 10/10/05, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > On Mon, Oct 10, 2005 at 09:11:02AM -0400, Matt Fowles wrote: > > Patrick~ > > > > The theoretical implementation of this is quite simple. Keep a > > counter. everytime a token is consumed from the input stream reset it. > > Ev

Re: [perl #36452] Re: [BUG] PGE recursion, bus error

2005-10-10 Thread Matt Fowles
Patrick~ On 10/9/05, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > On Sun, Oct 09, 2005 at 09:55:44AM -1000, Joshua Hoblitt wrote: > > > > What is the status of this bug? Should this be a PGE todo item? > > > > > > My opinion is that it's "not a bug" -- the normal behavior for > > > most progra

Re: [perl #36452] Re: [BUG] PGE recursion, bus error

2005-10-10 Thread Patrick R. Michaud
On Sun, Oct 09, 2005 at 09:55:44AM -1000, Joshua Hoblitt wrote: > > > What is the status of this bug? Should this be a PGE todo item? > > > > My opinion is that it's "not a bug" -- the normal behavior for > > most programs with infinite recursive loops is that they > > eventually explode. > >

Re: [perl #36452] Re: [BUG] PGE recursion, bus error

2005-10-09 Thread Joshua Hoblitt
On Sun, Oct 09, 2005 at 07:55:02PM -0500, Patrick R. Michaud wrote: > On Sun, Oct 09, 2005 at 09:55:44AM -1000, Joshua Hoblitt wrote: > > > > What is the status of this bug? Should this be a PGE todo item? > > > > > > My opinion is that it's "not a bug" -- the normal behavior for > > > most progr

Re: [perl #36452] Re: [BUG] PGE recursion, bus error

2005-10-09 Thread Joshua Hoblitt
On Sun, Oct 09, 2005 at 12:41:18PM -0700, Patrick R. Michaud via RT wrote: > On Tue, Oct 04, 2005 at 09:16:58PM -0700, Joshua Hoblitt via RT wrote: > > Guys, > > > > What is the status of this bug? Should this be a PGE todo item? > > My opinion is that it's "not a bug" -- the normal behavior for

Re: [perl #36452] Re: [BUG] PGE recursion, bus error

2005-10-09 Thread Patrick R. Michaud
On Tue, Oct 04, 2005 at 09:16:58PM -0700, Joshua Hoblitt via RT wrote: > Guys, > > What is the status of this bug? Should this be a PGE todo item? My opinion is that it's "not a bug" -- the normal behavior for most programs with infinite recursive loops is that they eventually explode. The orig

[perl #36452] Re: [BUG] PGE recursion, bus error

2005-07-03 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #36452] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36452 > On Thu, Jun 30, 2005 at 02:56:27PM -0400, Will Coleda wrote: > Attempting to come