
BooleanParse is a simple Boolean expression parser. It illustrates many of the concepts necessary in writing expression parsers.
You can download a Zip file of the source code, including a Microsoft Visual C++ project you can use to build the project.
Things to note:
Source code (4k): BooleanParseSrc.zip
Executable (44k): BooleanParse.exe