Deprecated, use ocaml-ppx/ppxlib instead
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lifters
src
.gitignore
LICENSE.txt
Makefile
README.org
jbuild
ppx_metaquot.opam

README.org

ppx_metaquot

Ppx\_metaquot is a ppx rewriter allowing you to write values representing the OCaml AST in the OCaml syntax.

For instance:

[%expr x + 1]

is a value of type Ppx_ast.Ast.expression, represention the OCaml expression x + 1.

Ppx\_metaquot is similar to ppx_tools.metaquot expect that:

  • it uses the version of the OCaml AST defined by Ppx\_ast rather than the one from the current compiler
  • it can be used simultaneously with other rewriters using Ppx_driver