Need help with flex-bison-example?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

151 Stars 57 Forks GNU General Public License v3.0 25 Commits 0 Opened issues


A simple example demonstrating a calculator written with flex/bison

Services available


Need anything else?

Contributors list

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

Compile using the

$ make

or manually on Linux, follow this steps:

$ bison -d calc.y
$ flex calc.l
$ gcc 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.