mod parser; use parser::{Parser}; mod combinators; use crate::combinators::other::expressions::Expr; use crate::combinators::other::expressions::{ExprOutput}; fn main() { let mut count = 1; let max = 100000; loop { if count == max {break}; match Expr.parse(format!("{} + 6 - 67", count).as_str()).unwrap() { ExprOutput::E(b) => println!("{}", b.left), ExprOutput::I(b) => print!("{}", b) } count += 1 } }