flex-bison-example

by meyerd

A simple example demonstrating a calculator written with flex/bison

137 Stars 59 Forks Last release: Not found GNU General Public License v3.0 25 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

A small example of a calculator written with flex / bison.

Compile using the

Makefile
$ make

or manually on Linux, follow this steps:

$ bison -d calc.y
$ flex calc.l
$ gcc calc.tab.c lex.yy.c -o calc -lm
$ ./calc

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.