calc_engine library

Functions

eval(CalcContext context, Expression expression) EvalResult
evalPreviousExpressions(CalcContext context, Expression expression) Expression
Runs eval on any PreviousResultExpression within the given expression and replaces its expression with the NumberExpression of the result if successful.
input(List<Token> tokens) String
Extract numerical input from commands
parse(CalcContext context, List<Token> tokens) Expression
tokenize(List<Command> commands) List<Token>