functions rewrite with ocanren syntax extension

This commit is contained in:
ProgramSnail 2026-01-27 19:39:56 +03:00
parent f15613d192
commit 118834c9b7
3 changed files with 399 additions and 1 deletions

View file

@ -43,6 +43,29 @@
-pp
lib/pp5+gt+plugins+ocanren+dump.exe)))
(library
(name relational_semantic_interpreter_oc)
(modules relational_semantic_interpreter_oc)
(flags
(:standard -rectypes))
(libraries OCanren OCanren.tester)
(preprocessor_deps ./pp5+gt+plugins+ocanren+dump.exe)
(inline_tests)
(wrapped false)
(preprocess
(pps
OCanren-ppx.ppx_repr
OCanren-ppx.ppx_deriving_reify
OCanren-ppx.ppx_fresh
ppx_expect
ppx_inline_test
GT.ppx
GT.ppx_all
OCanren-ppx.ppx_distrib
--
-pp
lib/pp5+gt+plugins+ocanren+dump.exe)))
(rule
(targets pp5+gt+plugins+ocanren+dump.exe)
(action