On this page you find the source code for an expression parser written with C++. It is a small console program with all common mathematical features. The project was written using the free and cross platform CodeBlocks IDE. The project consist of ten source files, listed at the left of this page. You can view the source files online, or download the project including executable.


The features of the expression parser are:




The expression parser is built in the way most common parsers are built. The code is based on the example "A mini C++ Interpreter" from the book "The art of C++" by Herbert Schildt.


The parser is licensed under the Apache 2.0 License by Jos de Jong, Januari 2012. See the NOTICE file.