A project for evaluation mathematical expressions via MontiCore. It is a MontiCore derivative which extends the Expression grammar with mathematical constants and functions.
The project provides consists of two classes:
- ArithmeticExpressionValueCalculator, which derives a numerical value from an arithmetic expression.
- ArithmeticExpressionPrettyPrinter, which transforms an arithmetic expression into a human-readable string.
Arithmetic expressions are created via the built-in MontiCore expressions.
In order to install this project, simply execute the Maven command:
mvn clean install
- Maven - Dependency management and build tool.
- Zavarov
This project is licensed under the GPLv3 License - see the LICENSE file for details.