diff options
author | steve <steve@FreeBSD.org> | 1999-05-03 11:18:08 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-05-03 11:18:08 +0800 |
commit | 8ee2b6b192f4a3722afc11f3dbac1c64a48fc9c8 (patch) | |
tree | 7843c8fb6187d2ed1444376ff314458c670421b6 /devel/bison | |
parent | 112540b539d71606eab877a0a6280e5000595a55 (diff) | |
download | freebsd-ports-gnome-8ee2b6b192f4a3722afc11f3dbac1c64a48fc9c8.tar.gz freebsd-ports-gnome-8ee2b6b192f4a3722afc11f3dbac1c64a48fc9c8.tar.zst freebsd-ports-gnome-8ee2b6b192f4a3722afc11f3dbac1c64a48fc9c8.zip |
Initial import of bison version 1.27.
GNU's YACCalike parser generator.
PR: 10839
Submitted by: Jerry Hicks <wghicks@bellsouth.net>
Diffstat (limited to 'devel/bison')
-rw-r--r-- | devel/bison/Makefile | 28 | ||||
-rw-r--r-- | devel/bison/distinfo | 1 | ||||
-rw-r--r-- | devel/bison/pkg-comment | 1 | ||||
-rw-r--r-- | devel/bison/pkg-descr | 22 | ||||
-rw-r--r-- | devel/bison/pkg-plist | 6 |
5 files changed, 58 insertions, 0 deletions
diff --git a/devel/bison/Makefile b/devel/bison/Makefile new file mode 100644 index 000000000000..318615db317c --- /dev/null +++ b/devel/bison/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: bison +# Version required: 1.27 +# Date created: 27 Mar 1999 +# Whom: Jerry Hicks +# +# $Id$ +# + +DISTNAME= bison-1.27 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= bison + +MAINTAINER= wghicks@bellsouth.net + +Y2K= http://www.gnu.org/software/year2000.html + +GNU_CONFIGURE= yes + +MAN1= bison.1 + +post-install: + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' \/usr\/share\/info/dir > ${PREFIX}/info/dir; \ + fi + @install-info ${PREFIX}/info/bison.info ${PREFIX}/info/dir + +.include <bsd.port.mk> diff --git a/devel/bison/distinfo b/devel/bison/distinfo new file mode 100644 index 000000000000..dc6ee569498d --- /dev/null +++ b/devel/bison/distinfo @@ -0,0 +1 @@ +MD5 (bison-1.27.tar.gz) = 62cdda07da0bedaf7349a12903bd207d diff --git a/devel/bison/pkg-comment b/devel/bison/pkg-comment new file mode 100644 index 000000000000..b8ac4c9bd8d3 --- /dev/null +++ b/devel/bison/pkg-comment @@ -0,0 +1 @@ +GNU's bison (ver 1.27) diff --git a/devel/bison/pkg-descr b/devel/bison/pkg-descr new file mode 100644 index 000000000000..e93db4b4fbcb --- /dev/null +++ b/devel/bison/pkg-descr @@ -0,0 +1,22 @@ +From: Paul Rubin <phr@fsf.org> +Subject: Re: Bison documentation? + +The main difference between Bison and Yacc that I know of is that +Bison supports the @N construction, which gives you access to +the starting and ending line number and character number associated +with any of the symbols in the current rule. + +Also, Bison supports the command `%expect N' which says not to mention +the conflicts if there are N shift/reduce conflicts and no reduce/reduce +conflicts. + +The differences in the algorithms stem mainly from the horrible +kludges that Johnson had to perpetrate to make Yacc fit in a PDP-11. + +Also, Bison uses a faster but less space-efficient encoding for the +parse tables (see Corbett's PhD thesis from Berkeley, "Static +Semantics in Compiler Error Recovery", June 1985, Report No. UCB/CSD +85/251), and more modern technique for generating the lookahead sets. +(See "Efficient Construction of LALR(1) Lookahead Sets" by F. DeRemer +and A. Pennello, in ACM TOPLS Vol 4 No 4, October 1982. Their +technique is the standard one now.) diff --git a/devel/bison/pkg-plist b/devel/bison/pkg-plist new file mode 100644 index 000000000000..31531e1afffa --- /dev/null +++ b/devel/bison/pkg-plist @@ -0,0 +1,6 @@ +bin/bison +share/bison.hairy +share/bison.simple +@unexec install-info --delete %D/info/bison.info %D/info/dir +info/bison.info +@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir |