math-engine 0.2.0

A mathematical representation for describing mathematical operations and functions
Documentation
#[derive(Debug)]
pub enum ContextError {
    VariableAlreadyDefined(String, f32),
    VariableNotFound,
}

#[derive(Debug)]
pub enum EvalError {
    DivisionByZero,
    IsInfinite,
    NotANumber,
    NoContextGiven,
    VariableNotFound(String),
}

#[derive(Debug)]
pub enum ParserError {
    LexerError,
    ParserError,
    NoExpressionFound,
}