(ocamllex
 (modules mgolexer))
(menhir
 (modules mgoparser)
 (flags --explain --dump --fixed-exception)
 (infer true))
(executable
 (name mgoc)
 (promote (until-clean))
 (flags (:standard -warn-error -A)))
