BSD Ports

devel/bison 3.8.2_1,1 MidnightBSD

Parser generator from FSF, (mostly) compatible with Yacc

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl3+
Categories
devel

Description

Bison is a general-purpose parser generator that converts an annotated context-free grammar into a deterministic LR or generalized LR (GLR) parser employing LALR(1) parser tables. As an experimental feature, Bison can also generate IELR(1) or canonical LR(1) parser tables. Once you are proficient with Bison, you can use it to develop a wide range of language parsers, from those used in simple desk calculators to complex programming languages.

Bison is upward compatible with Yacc: all properly-written Yacc grammars ought to work with Bison with no change. Anyone familiar with Yacc should be able to use Bison with little trouble. You need to be fluent in C or C++ programming in order to use Bison. Java is also supported as an experimental feature.

See also: https://www.gnu.org/software/bison/

In the other systems

SystemPortVersion
MidnightBSDdevel/bison3.8.2_1,1
FreeBSDdevel/bison3.8.2_2,1
OpenBSDdevel/bison3.8.2p0
NetBSDdevel/bison3.8.2nb1
DragonFlydevel/bison3.8.2_2,1
HardenedBSDdevel/bison3.8.2_2,1
GhostBSDdevel/bison3.8.2_2,1
OPNsensedevel/bison3.8.2_2,1

Install

Binary package:

mport install bison

From mports:

cd /usr/mports/devel/bison && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	bison>0:devel/bison

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

Options name: devel_bison

OptionDefaultDescription
DOCSoff
EXAMPLESoff
NLSoff
USES
charsetfix compiler:c11 cpe gmake iconv localbase perl5 tar:xz
Service scripts
none

Files

Manual pages 1
  • bison(1)
pkg-plist 196
  • bin/bison
  • share/aclocal/bison-i18n.m4
  • share/bison/README.md
  • share/bison/bison-default.css
  • share/bison/m4sugar/foreach.m4
  • share/bison/m4sugar/m4sugar.m4
  • share/bison/skeletons/bison.m4
  • share/bison/skeletons/c++-skel.m4
  • share/bison/skeletons/c++.m4
  • share/bison/skeletons/c-like.m4
  • share/bison/skeletons/c-skel.m4
  • share/bison/skeletons/c.m4
  • share/bison/skeletons/d-skel.m4
  • share/bison/skeletons/d.m4
  • share/bison/skeletons/glr.c
  • share/bison/skeletons/glr.cc
  • share/bison/skeletons/glr2.cc
  • share/bison/skeletons/java-skel.m4
  • share/bison/skeletons/java.m4
  • share/bison/skeletons/lalr1.cc
  • share/bison/skeletons/lalr1.d
  • share/bison/skeletons/lalr1.java
  • share/bison/skeletons/location.cc
  • share/bison/skeletons/stack.hh
  • share/bison/skeletons/traceon.m4
  • share/bison/skeletons/variant.hh
  • share/bison/skeletons/yacc.c
  • share/bison/xslt/bison.xsl
  • share/bison/xslt/xml2dot.xsl
  • share/bison/xslt/xml2text.xsl
  • share/bison/xslt/xml2xhtml.xsl
  • share/doc/bison/AUTHORS
  • share/doc/bison/COPYING
  • share/doc/bison/NEWS
  • share/doc/bison/README
  • share/doc/bison/THANKS
  • share/doc/bison/TODO
  • share/doc/bison/examples/c/glr/Makefile
  • share/doc/bison/examples/c/glr/README.md
  • share/doc/bison/examples/c/glr/c++-types.y
  • share/doc/bison/examples/d/calc/Makefile
  • share/doc/bison/examples/d/calc/calc.y
  • share/doc/bison/examples/d/simple/Makefile
  • share/doc/bison/examples/d/simple/calc.y
  • share/examples/bison/README.md
  • share/examples/bison/c++/Makefile
  • share/examples/bison/c++/README.md
  • share/examples/bison/c++/calc++/Makefile
  • share/examples/bison/c++/calc++/README.md
  • share/examples/bison/c++/calc++/calc++.cc
  • share/examples/bison/c++/calc++/driver.cc
  • share/examples/bison/c++/calc++/driver.hh
  • share/examples/bison/c++/calc++/parser.yy
  • share/examples/bison/c++/calc++/scanner.ll
  • share/examples/bison/c++/simple.yy
  • share/examples/bison/c++/variant-11.yy
  • share/examples/bison/c++/variant.yy
  • share/examples/bison/c/README.md
  • share/examples/bison/c/bistromathic/Makefile
  • share/examples/bison/c/bistromathic/README.md
  • share/examples/bison/c/bistromathic/parse.y
  • share/examples/bison/c/calc/Makefile
  • share/examples/bison/c/calc/README.md
  • share/examples/bison/c/calc/calc.y
  • share/examples/bison/c/lexcalc/Makefile
  • share/examples/bison/c/lexcalc/README.md
  • share/examples/bison/c/lexcalc/parse.y
  • share/examples/bison/c/lexcalc/scan.l
  • share/examples/bison/c/mfcalc/Makefile
  • share/examples/bison/c/mfcalc/calc.h
  • share/examples/bison/c/mfcalc/mfcalc.y
  • share/examples/bison/c/pushcalc/Makefile
  • share/examples/bison/c/pushcalc/README.md
  • share/examples/bison/c/pushcalc/calc.y
  • share/examples/bison/c/reccalc/Makefile
  • share/examples/bison/c/reccalc/README.md
  • share/examples/bison/c/reccalc/parse.y
  • share/examples/bison/c/reccalc/scan.l
  • share/examples/bison/c/rpcalc/Makefile
  • share/examples/bison/c/rpcalc/rpcalc.y
  • share/examples/bison/d/README.md
  • share/examples/bison/java/README.md
  • share/examples/bison/java/calc/Calc.y
  • share/examples/bison/java/calc/Makefile
  • share/examples/bison/java/simple/Calc.y
  • share/examples/bison/java/simple/Makefile
  • share/locale/af/LC_MESSAGES/bison-gnulib.mo
  • share/locale/ast/LC_MESSAGES/bison-runtime.mo
  • share/locale/be/LC_MESSAGES/bison-gnulib.mo
  • share/locale/bg/LC_MESSAGES/bison-gnulib.mo
  • share/locale/bg/LC_MESSAGES/bison-runtime.mo
  • share/locale/bg/LC_MESSAGES/bison.mo
  • share/locale/ca/LC_MESSAGES/bison-gnulib.mo
  • share/locale/ca/LC_MESSAGES/bison-runtime.mo
  • share/locale/ca/LC_MESSAGES/bison.mo
  • share/locale/cs/LC_MESSAGES/bison-gnulib.mo
  • share/locale/da/LC_MESSAGES/bison-gnulib.mo
  • share/locale/da/LC_MESSAGES/bison-runtime.mo
  • share/locale/da/LC_MESSAGES/bison.mo
  • share/locale/de/LC_MESSAGES/bison-gnulib.mo

The first 100 are listed.

distinfo 1
FileSizeSHA256
bison-3.8.2.tar.xz2.817324e+069bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2
Master sites 1
  • GNU