Crate math_parse

Source

Structs§

MathParse
Object generated when parsing a string of math. Can be later used for solving or formatting to other representations.

Enums§

BinaryOp
Available binary operations.
MathParseErrors
Type used to represent any errors that can happen in the parsing of a math expression.
RPN
Elements that make a list of RPN instruction extracted from a math expression.
Tree
Parsed element showed in a tree in infix notation.
UnaryOp
Available unary operations.

Functions§

contains_math_char
Return true if the given string contains any character that are used as operators inside of math-parse
rpn_slice_to_string
Shows a representation of an expression formatted into RPN.