forked from PLTools/OCanren
-
Notifications
You must be signed in to change notification settings - Fork 1
/
META.OCanren.template
68 lines (63 loc) · 2.19 KB
/
META.OCanren.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version = "0.3.0"
description = "Typed embedding of relational programmng language miniKanren to OCaml"
requires = "GT"
archive(byte) = "OCanren.cma"
archive(native) = "OCanren.cmxa"
plugin(byte) = "OCanren.cma"
plugin(native) = "OCanren.cmxs"
package "add_timer" (
directory = "add_timer"
description = "Installing a timer using Mtime for measurements"
requires = "mtime.clock.os"
archive(byte) = "add_timer.cma"
archive(native) = "add_timer.cmxa"
plugin(byte) = "add_timer.cma"
plugin(native) = "add_timer.cmxs"
)
package "syntax" (
directory = "syntax"
description = "Camlp5 syntax extensions"
requires = "camlp5"
archive(syntax,preprocessor) = "pa_ocanren.cma"
archive(syntax,preprocessor,native) = "pa_ocanren.cmxa"
archive(byte) = "pa_ocanren.cma"
archive(native) = "pa_ocanren.cmxa"
plugin(byte) = "pa_ocanren.cma"
plugin(native) = "pa_ocanren.cmxs"
)
package "tester" (
directory = "tester"
description = ""
requires = "OCanren"
archive(byte) = "tester.cma"
archive(native) = "tester.cmxa"
plugin(byte) = "tester.cma"
plugin(native) = "tester.cmxs"
)
package "ppx" (
requires(ppx_driver) = "ocanren.ppx.repr,ocanren.ppx.fresh"
package "repr" (
description = "PPX syntax extension which similar to logger-p5"
requires(ppx_driver) = "ppxlib"
archive(ppx_driver,byte) = "ppx_repr.cma"
archive(ppx_driver,native) = "ppx_repr.cmxa"
plugin(ppx_driver,byte) = "ppx_repr.cma"
plugin(ppx_driver,native) = "ppx_repr.cmxs"
# This line makes things transparent for people mixing preprocessors
# and normal dependencies
requires(-ppx_driver) = ""
ppx(-ppx_driver,-custom_ppx) = "./pp_repr.native --as-ppx"
)
package "fresh" (
description = "PPX syntax extension for convenient creating fresh variables in OCanren"
requires(ppx_driver) = "ppxlib"
archive(ppx_driver,byte) = "ppx_fresh.cma"
archive(ppx_driver,native) = "ppx_fresh.cmxa"
plugin(ppx_driver,byte) = "ppx_fresh.cma"
plugin(ppx_driver,native) = "ppx_fresh.cmxs"
# This line makes things transparent for people mixing preprocessors
# and normal dependencies
requires(-ppx_driver) = ""
ppx(-ppx_driver,-custom_ppx) = "./pp_fresh.native --as-ppx"
)
)