package ppx_ast

  1. Overview
  2. Docs
Deprecated: use ppxlib instead

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_ast-v0.11.0.tar.gz
sha256=cfd45610130e9c75261f357cc264ce9f7cf3a25119257bb23dc2da4503601b45
md5=d2760af0ea438cf0fc75d106a27fef80

Description

Published: 22 Mar 2018

README

README.org

#+TITLE: ppx\_ast
#+PARENT: ../../README.md

Ppx\_ast selects a specific version of the OCaml Abstract Syntax Tree
from the [[https://github.com/let-def/migrate-parsetree][migrate-parsetree]] project that is not necessarily the same
one as the one being used by the compiler.

It also snapshots the corresponding parser and pretty-printer from the
OCaml compiler, to create a full frontend independent of the version
of OCaml.

This AST is used in all Jane Street ppx rewriters, and more generally
in all Ppx\_core/Ppx\_driver based ppx rewriters. Using a different
ASTs allows to "detach" the ppx code from the compiler libraries, and
allow to use ppx rewriters with new compilers before upgrading the ppx
code.

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

  1. ppx_fun = "0.0.4"

Conflicts

None

OCaml

Innovation. Community. Security.