AStat/frontend/dune

18 lines
374 B
Text
Raw Normal View History

2024-05-29 11:47:47 +02:00
(library
(name frontend)
(wrapped false)
(libraries libs zarith menhirLib apron))
; Special target to generate messages for parser
(rule
(targets parser_messages.ml)
(deps parser.messages parser.mly)
(action (with-stdout-to %{targets} (run menhir --compile-errors %{deps}))))
(menhir
(flags --explain --table)
(modules parser))
(ocamllex
(modules lexer))