Here is my current dune file:
(library
(name parsing)
(libraries toto fmt menhirLib)
(modules parser lexer lex_and_parse)
)
(ocamllex lexer)
(menhir
(modules parser)
(flags --explain -v))
I know it's probably not a great idea to have too big an automaton, but it would be handy for me to be able to debug my lexer in its current state, which implies allowing for greater automata with the -ml flag. I haven't been able to provide flags to ocamllex. Any ideas?
Substitute
(ocamllex lexer)with