Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/meyerd/flex-bison-example

A simple example demonstrating a calculator written with flex/bison
https://github.com/meyerd/flex-bison-example

Last synced: about 2 months ago
JSON representation

A simple example demonstrating a calculator written with flex/bison

Awesome Lists containing this project

README

        

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