asciimath 0.8.8

Mathematical expression parser and evaluator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::{ast::NumericLiteral, tokens::Operator};

#[derive(Debug, PartialEq)]
pub enum Token {
    Operator(Operator),
    Number(NumericLiteral),
    Variable(String),
    LeftParenthesis,
    RightParenthesis,
    Comma,
    Function(String),
}