let run_and_parse lexer command = Printf.ksprintf (fun command -> lexer & Lexing.from_string & run_and_read command) command