/calc-re2c-lemon

An infix arithmetic expression parser and evaluator implemented using re2c and LEMON

Primary LanguageC++MIT LicenseMIT

Calc

An LALR(1) parser implementation of a simple arithmetic expression language. Similar to my calc-recursive-descent project, but written in C and implemented using re2c and LEMON.

Build

To build this project you'll need CMake, a C11 compiler, and re2c. A copy of the LEMON utility and its companion parser template are already included in the vendor directory. A C++17 compiler is required to perform unit testing.