package ppx_metaquot

  1. Overview
  2. Docs
Deprecated: use ppxlib instead

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_metaquot-v0.11.0.tar.gz
sha256=8798c9a0a631f917d63aa2335fc5a119f652d5f3683f2ce6a0a5c4f1a29f1a36
md5=5128cd23d665e17541e96af09406d2c5

Description

Published: 22 Mar 2018

README

README.org

#+TITLE: ppx_metaquot
#+PARENT: ../../README.md

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

For instance:

#+begin_src ocaml
[%expr x + 1]
#+end_src

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

Ppx\_metaquot is similar to [[https://github.com/alainfrisch/ppx_tools][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 [[https://github.com/janestreet/ppx_driver][Ppx_driver]]

Dependencies (3)

  1. ppxlib >= "0.1.0" & < "0.3.0"
  2. jbuilder >= "1.0+beta18.1"
  3. ocaml >= "4.04.1"

Dev Dependencies

None

Used by (6)

  1. frenetic >= "5.0.0" & < "5.0.3"
  2. ppx_deriving_protocol < "0.8.1"
  3. ppx_graphql
  4. ppx_jsobject_conv >= "0.5.0" & < "0.6.0"
  5. ppx_protocol_conv < "3.1.0"
  6. ppx_regexp = "0.3.0"

Conflicts

None

OCaml

Innovation. Community. Security.