package ppx_ast
OCaml AST used by Jane Street ppx rewriters
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_ast-v0.9.0.tar.gz
sha256=bfb696f80a85aefe2e56ae35d302290df6be548bf88699c61d6e42947b7539c2
md5=5f1dbf69aedb6bdf2f5015adccd74564
Description
Ppx_ast selects a specific version of the OCaml Abstract Syntax Tree from the 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.
Published: 22 Mar 2017
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 (4)
-
ocaml-migrate-parsetree
>= "0.4" & < "2.0.0"
-
ocaml-compiler-libs
>= "v0.9" & < "v0.10"
-
jbuilder
>= "1.0+beta4"
-
ocaml
>= "4.03.0" & < "4.06.0"
Dev Dependencies
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page