modlexer;uselexer::Lexer;usestd::io::Read;fnmain(){println!("Lex stdin.");println!("ENTER to lex current input.");println!("C-c to exit.");letmutlex=Lexer::new(std::io::stdin().bytes().filter_map(|v|{letv=v.ok()?;Some(v.into())}));loop{println!("{:?}",lex.gettok());}}