Compiler to scan, parse and evaluate an arithmetic expression, and print the resulting value.
- calc.l: Scanner written in flex
- calc.y: Parser written in bison
- main.c: Driver code
- makefile: Compiles and runs the above 3 files
To use the calculator, running just the makefile is sufficient. All 4 files must be in the same directory.