package ppx_metaquot

  1. Overview
  2. Docs
Write OCaml AST fragment using OCaml syntax

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_metaquot-v0.10.0.tar.gz
sha256=8cbfb44b2ae77a0178159a7d07713231e99dfbfa01c629a4767e9d2c9bc9c3a8
md5=0286e294ae66d43577fa4cf4cecd6069

Description

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

Published: 15 Dec 2017

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 (6)

  1. ocaml-migrate-parsetree >= "0.4" & < "2.0.0"
  2. jbuilder >= "1.0+beta12"
  3. ppx_traverse_builtins >= "v0.10" & < "v0.11"
  4. ppx_driver >= "v0.10" & < "v0.11"
  5. ppx_core >= "v0.10" & < "v0.11"
  6. ocaml >= "4.04.1"

Dev Dependencies

None

Used by (30)

  1. frenetic >= "5.0.0" & < "5.0.3"
  2. ppx_assert = "v0.10.0"
  3. ppx_bench = "v0.10.0"
  4. ppx_bin_prot = "v0.10.0"
  5. ppx_compare = "v0.10.0"
  6. ppx_conv_func = "v0.10.0"
  7. ppx_csv_conv = "v0.10.0"
  8. ppx_custom_printf = "v0.10.0"
  9. ppx_deriving_protocol < "0.8.1"
  10. ppx_enumerate = "v0.10.0"
  11. ppx_expect >= "v0.10.0" & < "v0.11.0"
  12. ppx_fail = "v0.10.0"
  13. ppx_fields_conv = "v0.10.0"
  14. ppx_graphql
  15. ppx_hash = "v0.10.0"
  16. ppx_inline_test >= "v0.10.0" & < "v0.11.0"
  17. ppx_js_style = "v0.10.0"
  18. ppx_jsobject_conv >= "0.5.0" & < "0.6.0"
  19. ppx_optional = "v0.10.0"
  20. ppx_pipebang = "v0.10.0"
  21. ppx_protocol_conv < "3.1.0"
  22. ppx_regexp = "0.3.0"
  23. ppx_sexp_conv = "v0.10.0"
  24. ppx_sexp_message = "v0.10.0"
  25. ppx_sexp_value = "v0.10.0"
  26. ppx_traverse = "v0.10.0"
  27. ppx_type_conv = "v0.10.0"
  28. ppx_typerep_conv = "v0.10.0"
  29. ppx_variants_conv = "v0.10.0"
  30. ppx_xml_conv = "v0.10.0"

Conflicts

None

OCaml

Innovation. Community. Security.