summaryrefslogtreecommitdiff
path: root/lib/configuration/dune
blob: 134a7dcea8efd8a0421bab3eb37f829760a59512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(library
 (name configuration)
 (libraries menhirLib decoders yojson yojson-five ocamlgraph splay model)
 (preprocess
  (pps ppx_deriving.ord ppx_deriving.show ppx_deriving.eq)))

(rule
 (targets expression_parser_messages.ml)
 (deps expression_parser.messages expression_parser.mly)
 (action
  (with-stdout-to
   %{targets}
   (run menhir --compile-errors %{deps}))))

(menhir
 (modules expression_parser)
 (flags --table))

(ocamllex expression_lexer)