ocaml-dns icon indicating copy to clipboard operation
ocaml-dns copied to clipboard

Use menhir parser

Open RyanGibb opened this issue 2 years ago • 0 comments

Addresses https://github.com/mirage/ocaml-dns/issues/203

Work still needs to be done to improve error messages.

Dune is upgraded from 1.2 to 1.4 to support menhir 2.0 which gives nonterminal symbol type inference, fixing the error:

Error: the code back-end requires the type of every nonterminal symbol to be
known. Please specify the type of every symbol via %type declarations, or
enable type inference (look up --infer in the manual).
Type inference is automatically enabled when Menhir is used via Dune,
provided the dune-project file says (using menhir 2.0) or later.

RyanGibb avatar Sep 21 '22 11:09 RyanGibb