All Classes and Interfaces
Class
Description
Base class for
Evaluator
implementations.Base class for
StackEvaluator
implementations.Base class for stack-based evaluators which support the standard operators.
An expression evaluator for most
standard operators
with
common built-in types (i.e.: Boolean
s, String
s and
Number
s).Interface for expression evaluators.
A simple console-driven expression evaluator.
A parser for mathematical expressions, using Dijkstra's famous shunting-yard
algorithm.
A function is an implicit binary operator between two "noun"
tokens—typically between a variable on the left and a group on the
right, in which case the function's precedence is inferred from the group.
A group is a special N-ary operator delineated by a left-hand symbol and a
right-hand symbol, with comma-separated arguments.
Utility methods for parsing literals from strings.
Launches the console-driven expression evaluator.
A mathematical operator is a "verb": a special infix (in the case of binary
or greater arity) or prefix (in the case of unary) symbol which defines a
relation between "nouns" (i.e.: literals and variables).
A collection of standard
Operator
s.A mutable parse position.
Interface for stack-based expression evaluators.
Interface for expression evaluators which support the
standard operators
.A
CharSequence
which is a by-reference subsequence of another
CharSequence
.A syntax
tree corresponding to an expression.
Base class for various types of tokens: operators, groups, functions and
variables.
Utility methods for working with tokens.
An unresolved/unknown variable value.
A "noun" token representing a variable.