exprparser - an expression parser and evaluatorA simple lex/yacc (Flex/Bison) based expression parser and evaluator. This code reads an expression string, lexes and parses it to produce an "expression tree", which can be later evaluated. It's clean, efficient and simple enough to be easily understood, modified and extended. GPL source code is available for UNIX (tested on OS X, Linux and NetBSD). |
||