ocaml-ppx / ppx_tools

Tools for authors of ppx rewriters
MIT License
134 stars 39 forks source link

ocamlfind support in rewriter #20

Open c-cube opened 9 years ago

c-cube commented 9 years ago

It would be very nice to be able to write

$ ocamlfind query ppx_tools/rewriter -ppx ppx_deriving.show foo.ml`

rather than

$ ocamlfind ppx_tools/rewriter \
   -ppx '`ocamlfind query ppx_deriving`/ppx_deriving
   `ocamlfind query ppx_deriving`/ppx_deriving_show.cma' \
   foo.ml