Apply simple check to source code and output error just as an OCaml compiler.