use std::io::{self, Write};
pub fn read_line(prompt: &str) -> String {
print!("{}", prompt);
io::stdout().flush().expect("Error flushing stdout");
let mut input = String::new();
io::stdin()
.read_line(&mut input)
.expect("Error reading stdin");
input.trim().to_owned()
}
mod cmdtokens;
mod lexer;
mod parser;
pub use cmdtokens::CmdTokens;
pub use lexer::Lexer;
pub use parser::Parser;