Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
README.md
ppx_driver.ml
test_sedlex.ml

README.md

ppx_drivers

This package implements a generic ppx driver to be used with OCaml "-ppx" command-line flag. This driver dynamically loads other Parsetree rewriters which are supposed to be installed as findlib packages.

Rewriters to be applied can be specified either on the command-line or directly in the source code. Each rewriter is specified as the name of its findlib package and can be passed some extra arguments.

Command-line syntax:

ppx_driver [-v] pkg arg ... arg -- pkg arg ... arg -- ....

In-source syntax (as a top-level structure or signature item):

[%%load_ppx "pkg" "arg" ... "arg"]

You can’t perform that action at this time.