I am implementing a small programming language. Here is the codebase. The program is built with ocamlbuild
. I added a parser using menhir
. When I compile and run the program, I got the following message.
❱ ./main.byte
Fatal error: exception Parser.MenhirBasics.Error
I am trying to find more details by passing the explain
to the _tag
file
true: color(always), explain
but there doesn't seem to be any difference. How to I make menhir
to generate a logging file through ocamlbuild? or other ways to debug?