develooper Front page | perl.perl5.build | Postings from February 2004

Re: switch from byacc to bison

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
February 15, 2004 14:24
Subject:
Re: switch from byacc to bison
Message ID:
20040214134606.GA8799@fdisolutions.com
On Sat, Feb 14, 2004 at 12:02:14PM +0100, Rafael Garcia-Suarez wrote:
> "H.Merijn Brand" <h.m.brand@hccnet.nl> wrote:
> 
> > On Sat 14 Feb 2004 03:33, Dave Mitchell <davem@fdisolutions.com> wrote:
> > > Some notes:
> > > 
> > > Pumpkings: Currently it requires bison 1.875 to rebuild perly.*, although
> > > this restriction has more to do with a lack of testing on my part of other
> > > versions, rather than any intrinsic defect. Probably 1.35 onwards will
> > > work.
> > 
> > Looks fine.
> > 
> > A Question:
> > Will this work backwards to 5.005.x?
> > If so, I guess I can remove all probing for byacc from Configure
> 
> No, because byacc is used to build a2p. (Until now :)

Is that some kind of hint? ;-)

Anyway, I was envisaging that the patch might go into 5.8.x, but it's
definitely too scary for anything earlier. All the old byacc parser
bolierplate code plus all its hacks to make it work under Perl have been
thrown away and replaced with a whole new set of boilerplate code from
bison plus a new set of hacks (not as scary hacks as the old one, as the
new bison with the %pure_parser option doesn't use global vars any more).

Dave.

-- 
Nothing ventured, nothing lost.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About