Skip to content

A Java Library To evaluate complex arithmetic expression with variables at run-time.

Notifications You must be signed in to change notification settings

VarunKhambhata/Arithmetic-Evaluation-Engine

Repository files navigation

Arithmetic-Evaluation-Engine

A Java Library To evaluate complex arithmetic expression with variables at run-time.

Open ArithmeticEvaluationEngine.pdf for complete guide to use this library.

This library takes arithmetic expression as a string. The expression can also have many variables. These variables's value can be set from the main program. The library will evaluate expression and give answer in specified data type. The expression doesnot need to be compiled in program as it is in form of string and can be changed at any time during main program execution.

The "Demo.java" program displays the capablities of this library.

Open the above given "ArithmeticEvaluationEngine.pdf" to learn to use this library.

To use this library

keep "ArithmaticEvaluationEngine" folder and your java program in same directory.
OR
Add "ArithmaticEvaluationEngine" folder to classpath in environment variable.

In main java program import library using statement:

import ArithmeticEvaluationEngine.*;

To run demo program

  • download "ArithmaticEvaluationEngine" folder and "Demo.java"
  • keep "ArithmaticEvaluationEngine" folder and "Demo.java" in same folder/directory
  • compile demo.java using command line: "javac Demo.java"
  • run the compiled program using command line: "java Demo"
⚠️ The Source code of this library will not be avaliable for public access currently.

About

A Java Library To evaluate complex arithmetic expression with variables at run-time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages