Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 1999 10:39:22 -0500
From:      "Chuck O'Donnell" <cao@bus.net>
To:        Kiril Mitev <kiril@idea.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: fbsd - yacc or byacc ?
Message-ID:  <19990218103922.C366@milf18.bus.net>
In-Reply-To: <19990218102614.A366@milf18.bus.net>; from Chuck O'Donnell on Thu, Feb 18, 1999 at 10:26:14AM -0500
References:  <01BE5907.D1E87C30@kiril.idea.co.uk> <19990218102614.A366@milf18.bus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 18, 1999 at 10:26:14AM -0500, Chuck O'Donnell wrote:
> On Mon, Feb 15, 1999 at 05:22:51PM -0000, Kiril Mitev wrote:
> 
> > Basically - IS the yacc/byacc that comes with freebsd _the_ berkely
> > yacc (byacc)?
> > 
> > The reason that I am asking this question is that _the_ byacc is
> > supposed to support PERL output via a -P flag, which does not seem
> > to be present or understood by /usr/bin/(b)yacc...
> > 
> > Hints anyone ?
> > 
> 
> It's been a while since I used it, but the last time I checked, the
> FreeBSD yacc was the original berkely yacc, not the yacc that was
> patched to output a perl parser using -P. I don't know if this has
> changed since I last looked at it.
> 
> I don't recall where I originally got the perl version, but the tar
> files you need are:
> 
> perl-byacc1.8.2.tar.gz
> perl5-byacc-patches-0.5.tar.gz
> perl5-byacc-patches-0.5.readme
> 
> Maybe try:
> 
> http://www.oasis.leo.org/perl/src/independent/perl-byacc.dsc.htmlq
> 

I just happened to find them on CPAN:

	http://www.perl.com/CPAN/src/misc


> I have the files if you need them. Send me a private email if you want
> and we can arrange a way for you to get them.
> 
> On a side note, the perl5 patches are not necessarily required just
> because you may be using perl5. It only adds an object-oriented
> interface to the parser. I think I ended up building two versions to
> experiment with, `pbyacc', and `pbyacc5' with the perl5 patch.
> 
> Thanks.
> 
> -- 
> Chuck
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Chuck


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990218103922.C366>