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