package ppx_core

  1. Overview
  2. Docs
Deprecated: use ppxlib instead

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_core-v0.11.0.tar.gz
sha256=e3d8014e7af0f32ca9f223d4ef9acebcdee3fdfb690695600ff986b333a252d0
md5=f39ed11235935a4ee31df0b86940e774

Description

Published: 22 Mar 2018

README

ppx_core - a PPX standard library

Ppx_core is a standard library for OCaml AST transformers. It contains:

  • various auto-generated AST traversal using an open recursion scheme

  • helpers for building AST fragments

  • helpers for matching AST fragments

  • a framework for dealing with attributes and extension points

When used in combination with ppx_driver, it features:

  • spellchecking and other hints on misspelled/misplaced attributes and extension points

  • checks for unused attributes (they are otherwise silently dropped by the compiler)

Ast version

Ppx_core uses the specific version of the OCaml Abstract Syntax Tree as defined by Ppx_ast.

Compatibility

If you want to write code that works with several versions of Ppx_core using different AST versions, you can use the versionned alternatives for Ast_builder and Ast_pattern. For instance:

open Ppx_core
module Ast_builder = Ast_builder_403
module Ast_pattern = Ast_pattern_403

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

  1. frenetic >= "5.0.0" & < "5.0.3"
  2. ppx_bitstring >= "1.3.0" & < "2.0.0"
  3. ppx_deriving_protocol < "0.8.1"
  4. ppx_fun < "0.0.9"
  5. ppx_hardcaml < "1.1.0"
  6. ppx_jsobject_conv < "0.2.1" | >= "0.4.2" & < "0.6.0"
  7. ppx_protocol_conv < "3.1.3"
  8. ppx_sqlexpr

Conflicts

None

OCaml

Innovation. Community. Security.