Skip to content

KokorinIlya/ExpressionParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ExpressionParser

Parses arithmetical expressions in different modes

Application parses and evaluates arithmetical expressions, using different modes of evaluating.

Supports up to 3 different variables, constants, parenthesis and different arithmetical operations.

To run Evaluator, use:

java Evaluator <mode> <expression> <value of x> <value of y> <value of z>

Modes:

  1. "i" for evaluating in integer
  2. "u" for evaluating in integer, without overflow checking
  3. "bi" for evaluating in big integer
  4. "b" for evaluating in byte
  5. "d" fro evaluating in double
  6. "f" for evaluating in float

If you want to calculate expression value for x in range (x1 ... x2), y in range (y1 ... y2), z in range (z1 ... z2), use Tabulator.tabulate method

Releases

No releases published

Packages

No packages published

Languages