-
Notifications
You must be signed in to change notification settings - Fork 6
/
dune-project
56 lines (52 loc) · 1.76 KB
/
dune-project
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
(lang dune 1.11)
(name ppx)
(using cinaps 1.0)
(generate_opam_files true)
(maintainers "opensource@janestreet.com")
(authors "Jane Street Group, LLC")
(source (github ocaml-ppx/ppx))
(package
(name ppx)
(synopsis "Base library and tools for ppx rewriters")
(description "
A comprehensive toolbox for ppx development. It features:
- a OCaml AST / parser / pretty-printer snapshot,to create a full
frontend independent of the version of OCaml;
- a library for library for ppx rewriters in general, and type-driven
code generators in particular;
- a feature-full driver for OCaml AST transformers;
- a quotation mechanism allowing to write values representing the
OCaml AST in the OCaml syntax;
- a generator of open recursion classes from type definitions.")
(depends
(ocaml (and (>= 4.07) (< 4.08)))
ocaml-syntax-shims
astlib
(expect_test_helpers_kernel :with-test)
(ppx_expect :with-test)
(base (and (>= v0.11.0) :with-test))
(stdio (and (>= v0.11.0) :with-test))
dune
(ocaml-compiler-libs (>= v0.11.0))
(ocaml-migrate-parsetree (>= 1.0.9))
(ppx_derivers (>= 1.0))
(cinaps :with-test)
(ocamlfind :with-test)))
(package
(name astlib)
(synopsis "Compatibility layer for OCaml compiler AST")
(description "Provides types for the OCaml compiler AST, along with versioned
interfaces for constructing and deconstructing them so that ppx transformers can
be easily migrated to new versions of the compiler.")
(depends
(ocaml (and (>= 4.07) (< 4.08)))
(base (>= v0.11.0))
(dune (>= 1.8.0))
(ocaml-compiler-libs (>= v0.11.0))
(ocaml-migrate-parsetree (>= 1.0.9))
(ppx_derivers (>= 1.0))
(cinaps (and (>= v0.13.0) :with-test))
(ppx_jane :with-test)
(base_quickcheck :with-test)
(expect_test_helpers_kernel :with-test)
(stdio (>= v0.11.0))))