Changing for lexing and parsing from stream parsers to ocamllex +
menhir.