Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 1999 16:24:51 -0000
From:      Kiril Mitev <kiril@idea.co.uk>
To:        Kiril Mitev <kiril@idea.co.uk>, "'Chuck O'Donnell'" <cao@bus.net>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   RE: fbsd - yacc or byacc ?
Message-ID:  <01BE5B5B.37382310@kiril.idea.co.uk>

next in thread | raw e-mail | index | archive | help
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




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