summaryrefslogtreecommitdiff
path: root/lib/configuration/dune
diff options
context:
space:
mode:
Diffstat (limited to 'lib/configuration/dune')
-rwxr-xr-xlib/configuration/dune19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/configuration/dune b/lib/configuration/dune
new file mode 100755
index 0000000..134a7dc
--- /dev/null
+++ b/lib/configuration/dune
@@ -0,0 +1,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)