This project is a simple yet powerful command-line calculator built in C++ that demonstrates the elegance of Pratt Parsing. It can parse and evaluate mathematical expressions, supporting variables, ...
let mut parser = suzuran::Parser::new(["+", "*"]); println!("{:?}", parser.parse(["1", "+", "2", "*", "3"]).unwrap()); // Operator("+", Primitive("1"), Operator ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results