/zav.mc.math

Project for evaluation mathematical expressions via MontiCore.

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Java CI with Maven

Arithmetic Expressions

A project for evaluation mathematical expressions via MontiCore. It is a MontiCore derivative which extends the Expression grammar with mathematical constants and functions.

Getting started

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.

Installing

In order to install this project, simply execute the Maven command:

mvn clean install

Built With

  • Maven - Dependency management and build tool.

Authors

  • Zavarov

License

This project is licensed under the GPLv3 License - see the LICENSE file for details.