From owner-freebsd-questions Thu Feb 18 7:39:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from milf18.bus.net (milf18.bus.net [207.41.25.18]) by hub.freebsd.org (Postfix) with ESMTP id AB0A111427 for ; Thu, 18 Feb 1999 07:39:26 -0800 (PST) (envelope-from cao@milf18.bus.net) Received: (from cao@localhost) by milf18.bus.net (8.8.8/8.8.8) id KAA00672; Thu, 18 Feb 1999 10:39:22 -0500 (EST) (envelope-from cao) Date: Thu, 18 Feb 1999 10:39:22 -0500 From: "Chuck O'Donnell" To: Kiril Mitev Cc: freebsd-questions@FreeBSD.ORG Subject: Re: fbsd - yacc or byacc ? Message-ID: <19990218103922.C366@milf18.bus.net> References: <01BE5907.D1E87C30@kiril.idea.co.uk> <19990218102614.A366@milf18.bus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <19990218102614.A366@milf18.bus.net>; from Chuck O'Donnell on Thu, Feb 18, 1999 at 10:26:14AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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