From owner-freebsd-questions Thu Feb 18 8:26:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from idea.co.uk (ultra2.idea.co.uk [194.36.20.11]) by hub.freebsd.org (Postfix) with ESMTP id 40D701163C for ; Thu, 18 Feb 1999 08:25:47 -0800 (PST) (envelope-from kiril@idea.co.uk) Received: from kiril.idea.co.uk (kiril62 [194.62.0.51]) by idea.co.uk (8.9.2/8.9.2) with SMTP id QAA04532; Thu, 18 Feb 1999 16:22:12 GMT Received: by kiril.idea.co.uk with Microsoft Mail id <01BE5B5B.37382310@kiril.idea.co.uk>; Thu, 18 Feb 1999 16:24:53 -0000 Message-ID: <01BE5B5B.37382310@kiril.idea.co.uk> From: Kiril Mitev To: Kiril Mitev , "'Chuck O'Donnell'" Cc: "freebsd-questions@freebsd.org" Subject: RE: fbsd - yacc or byacc ? Date: Thu, 18 Feb 1999 16:24:51 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks a gadzillion. I'll email you separate if I can't find the files. Kiril ---------- From: Chuck O'Donnell Sent: Thursday, February 18, 1999 3:26 PM To: Kiril Mitev Cc: freebsd-questions@freebsd.org Subject: Re: fbsd - yacc or byacc ? 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