This simple C++ parser project is based on @Adamska570
's project. It implements a very simple arithmetic expressions parser and evaluator completely written in C++. As of today, the parser supports only basic operations such as:
- addition;
- subtraction;
- multiplication;
- division;
- exponentiation
Any other operation is currently unsupported.
BEWARE: with long inputs, the parser may fail! It has **not been fuzzed or thoroughly tested**.
The purpose of this rewrite is simply of demonstrative nature. Idiomatic C++ can make the expression of computation simpler than C-Style C++ or mixed-style C++, which often is the most teached form of C++.
Simply clone this repo and use CMake to generate a buildable project. Then, run the build accordingly.