2026-01-12 17:24:49 +03:00
|
|
|
; (env
|
|
|
|
|
; (_
|
|
|
|
|
; (flags
|
|
|
|
|
; (:standard -warn-error +5))))
|
2025-11-30 00:42:04 +03:00
|
|
|
|
|
|
|
|
(library
|
2026-01-09 19:41:39 +03:00
|
|
|
(name semantic_interpreter)
|
|
|
|
|
(modules semantic_interpreter)
|
2025-11-30 00:42:04 +03:00
|
|
|
(flags (-rectypes))
|
|
|
|
|
(libraries OCanren OCanren.tester)
|
|
|
|
|
(inline_tests)
|
|
|
|
|
(wrapped false)
|
2026-02-15 18:40:55 +00:00
|
|
|
(preprocess
|
|
|
|
|
(pps GT.ppx GT.ppx_all ppx_expect ppx_inline_test)))
|
|
|
|
|
|
|
|
|
|
(library
|
|
|
|
|
(name relational_interpreter_oc_tests)
|
|
|
|
|
(modules relational_interpreter_oc_tests)
|
|
|
|
|
(flags (-rectypes))
|
2026-02-15 18:50:45 +00:00
|
|
|
(libraries
|
|
|
|
|
relational_semantic_interpreter_oc
|
|
|
|
|
relational_interpreter_oc_tests_f)
|
2026-02-15 18:40:55 +00:00
|
|
|
(inline_tests)
|
|
|
|
|
(wrapped false)
|
|
|
|
|
(preprocess
|
|
|
|
|
(pps ppx_expect ppx_inline_test)))
|
|
|
|
|
|
|
|
|
|
(library
|
|
|
|
|
(name relational_interpreter_oc_tests_f)
|
|
|
|
|
(modules relational_interpreter_oc_tests_f)
|
|
|
|
|
(flags (-rectypes))
|
|
|
|
|
(libraries OCanren OCanren.tester relational_semantic_interpreter_oc)
|
|
|
|
|
(preprocessor_deps ./pp5+gt+plugins+ocanren+dump.exe)
|
|
|
|
|
(wrapped false)
|
2025-11-30 00:42:04 +03:00
|
|
|
(preprocess
|
|
|
|
|
(pps
|
|
|
|
|
OCanren-ppx.ppx_repr
|
2026-02-15 18:40:55 +00:00
|
|
|
OCanren-ppx.ppx_deriving_reify
|
2025-11-30 00:42:04 +03:00
|
|
|
OCanren-ppx.ppx_fresh
|
|
|
|
|
GT.ppx
|
|
|
|
|
GT.ppx_all
|
2026-02-15 18:40:55 +00:00
|
|
|
OCanren-ppx.ppx_distrib
|
|
|
|
|
--
|
|
|
|
|
-pp
|
|
|
|
|
lib/pp5+gt+plugins+ocanren+dump.exe)))
|
2025-12-02 19:21:22 +03:00
|
|
|
|
2026-01-27 19:39:56 +03:00
|
|
|
(library
|
|
|
|
|
(name relational_semantic_interpreter_oc)
|
|
|
|
|
(modules relational_semantic_interpreter_oc)
|
|
|
|
|
(flags
|
2026-01-28 20:34:17 +03:00
|
|
|
; (-dsource)
|
2026-01-27 19:39:56 +03:00
|
|
|
(:standard -rectypes))
|
|
|
|
|
(libraries OCanren OCanren.tester)
|
|
|
|
|
(preprocessor_deps ./pp5+gt+plugins+ocanren+dump.exe)
|
|
|
|
|
(wrapped false)
|
|
|
|
|
(preprocess
|
|
|
|
|
(pps
|
|
|
|
|
OCanren-ppx.ppx_repr
|
|
|
|
|
OCanren-ppx.ppx_deriving_reify
|
|
|
|
|
OCanren-ppx.ppx_fresh
|
|
|
|
|
GT.ppx
|
|
|
|
|
GT.ppx_all
|
|
|
|
|
OCanren-ppx.ppx_distrib
|
|
|
|
|
--
|
|
|
|
|
-pp
|
|
|
|
|
lib/pp5+gt+plugins+ocanren+dump.exe)))
|
|
|
|
|
|
2026-01-09 19:41:39 +03:00
|
|
|
(rule
|
|
|
|
|
(targets pp5+gt+plugins+ocanren+dump.exe)
|
|
|
|
|
(action
|
|
|
|
|
(run
|
|
|
|
|
mkcamlp5.opt
|
|
|
|
|
-package
|
|
|
|
|
camlp5,camlp5.pa_o,camlp5.macro,camlp5.pr_dump,logger.syntax
|
|
|
|
|
-package
|
|
|
|
|
logger.syntax,GT.syntax,GT.syntax.all,OCanren.syntax
|
|
|
|
|
-o
|
|
|
|
|
%{targets})))
|