I use the (menhir)
stanza in dune
to compile grammars, but I don’t know how to conveniently use the menhir --explain
feature.
The naïve approach of using (flags --explain)
used to work before the level of sandboxing introduced in dune.3.0
(at that time, *.conflicts
files were generated in _build/$profile
), but since dune 3.0, I don’t know how to keep and where to find these files: currently, I circumvent the problem by running menhir --explain
manually, and remove the generated file from the source tree when conflicts are solved, but that is not very convenient!
1 post - 1 participant