About Bison and Flex

Giorgos Keramidas keramida at ceid.upatras.gr
Tue May 9 15:43:55 UTC 2006


On 2006-05-09 10:38, Robe <vcrobe at gmail.com> wrote:
> Hi,
> I'm a new user of FreeBSD and I want to know if the Bison parser generator
> and Flex for Linux is available here.

Yes.

	$ which lex yacc
	/usr/bin/lex
	/usr/bin/yacc
	$ which flex
	/usr/bin/flex
	$ which bison
	/usr/local/bin/bison
	$

The base system includes lex(1) and yacc(1).  The lex(1) utility is
actually flex(1).  You can install bison(1) from the Ports & Packages
Collection, i.e. with:

	# pkg_add -r bison




More information about the freebsd-questions mailing list