pemel 0.2.1

Parsing and Evaluating of Math Expressions Library
Documentation
macro_rules! expr_pat {
    (BINOP: $lhs:ident, $rhs:ident) => {
        Expr::Add($lhs, $rhs)
            | Expr::Sub($lhs, $rhs)
            | Expr::Mul($lhs, $rhs)
            | Expr::Div($lhs, $rhs)
            | Expr::Pow($lhs, $rhs)
            | Expr::Log($lhs, $rhs)
    };

    (UNOP: $inner:ident) => {
        Expr::Sin($inner)
            | Expr::Cos($inner)
            | Expr::Tan($inner)
            | Expr::Cot($inner)
            | Expr::Abs($inner)
    };
}

#[allow(unused_braces)]
pub(super) use expr_pat;