pemel 0.2.1

Parsing and Evaluating of Math Expressions Library
Documentation
1
2
3
4
5
6
7
8
9
10
/// This represents an error that occurs during evaluation of an expression
/// 
/// `ParseError` can contain this error if the parser tries to evaluate an expression during parsing.
#[derive(Debug, Clone, PartialEq)]
pub enum EvalError {
    VariableNotDefined(String),
    DivisionByZero,
    InvalidExponentiation,
    InvalidLogarithm,
}