BSD Ports

devel/bnf 1.6.10_1 DragonFly

Generate C parser given a grammar in BNF notation

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
devel
Package size
27.2 KiB, 91.1 KiB installed

Description

The BNF parser generator takes a syntax not unlike BNF and generates a "C" parser for it, a parser that can parse either strings or files.

This is a flexible tool, meant for smaller parsing tasks where bison+flex are just too big to use.

In the other systems

SystemPortVersion
DragonFlydevel/bnf1.6.10_1
FreeBSDdevel/bnf1.6.10_1
HardenedBSDdevel/bnf1.6.10_1
GhostBSDdevel/bnf1.6.10_1

Install

Binary package:

pkg install bnf

From DPorts:

cd /usr/dports/devel/bnf && make install clean

Dependencies

Run dependencies 1

No port depends on this one.