File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,10 @@ description = "Tools for authors of ppx rewriters and other syntactic tools"
3
3
archive(byte) = "ppx_tools.cma"
4
4
archive(native) = "ppx_tools.cmxa"
5
5
requires = "compiler-libs.common"
6
- ppx = "./ppx_metaquot"
6
+
7
+ package "metaquot" (
8
+ version = "0.1"
9
+ description = "Meta-quotation: Parsetree manipulation using concrete syntax"
10
+ requires = "ppx_tools"
11
+ ppx = "./ppx_metaquot"
12
+ )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ This package is licensed by LexiFi under the terms of the MIT license.
7
7
8
8
The tools are installed as a findlib package called 'ppx_tools'.
9
9
Executables are thus accessible through the ocamlfind driver (e.g.:
10
- ocamlfind ppx_tools/dumpast.exe ).
10
+ ocamlfind ppx_tools/dumpast).
11
11
12
12
13
13
Ast_mapper_class
@@ -56,7 +56,7 @@ supported extensions.
56
56
57
57
Usage:
58
58
59
- ocamlfind -c -ppx "ocamlfind ppx_tools/ppx_metaquot" my_ppx_code.ml
59
+ ocamlfind -c -package ppx_tools.metaquot my_ppx_code.ml
60
60
61
61
62
62
genlifter
@@ -104,5 +104,5 @@ produces the following class:
104
104
end
105
105
106
106
_ dumpast_ is a direct example of using _ genlifter_ applied on the
107
- OCaml Parsetree definition itself. ppx_metaquot.exe is another
107
+ OCaml Parsetree definition itself. ppx_metaquot is another
108
108
similar example.
You can’t perform that action at this time.
0 commit comments