libppx-tools-ocaml-dev

Tools for authors of ocaml syntactic tools
  https://github.com/alainfrisch/ppx_tools
  0
  no reviews



This package includes tools for authors of syntactic tools (such as ppx rewriters):
* ppx_metaquot: a ppx filter to help writing programs which
manipulate the parsetree, by allowing the programmer to use
concrete syntax for expressions creating parsetree fragments and
patterns deconstructing parsetree fragments;
* rewriter: a utility to help testing ppx rewriters that runs the
rewriter on user-provided code and returns the result;
* ast_mapper_class: a generic mapper from parsetree to parsetree
implemeting a deep identity copy, which can be customized with a
custom behavior for each syntactic category;
* dumpast: parses fragments of ocaml code (or entire source files)
and dump the resulting internal parsetree representation;
* genlifter: generates a virtual "lifter" class for one or several
ocaml type constructors.