package ppxlib
  Standard infrastructure for ppx rewriters
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      ppxlib-0.36.0.tbz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=5aba1bce14c53108614130110c843d004bf93bd2cf3a0778fd7086b85390a434
    
    
  sha512=1e3e8fee42fe74bffc178dbcbb2db8ec38dd23e71f6fed3c4c92618cf93892f5847787e6e9abb322f5c85d29a76afde28ce840b42e10fedc14cd82ba578ad06a
    
    
  doc/index.html
ppxlib's user manual
Overview
This is the user manual and API for ppxlib, the core of the PPX meta-programming system for OCaml and its derivatives, such as Reason. For a good introduction on PPXs, what they are, and how to use them, see the OCaml official guide on PPXs. This manual is mostly aimed at authors of PPX rewriters and contains everything one should know in order to write PPX rewriters.
Manual
The manual consists of several sections. It can be read linearly, but you can also jump directly to your section of interest:
- An introduction to ppxlib
- How ppxlibworks internally
- Registering a transformation
- Generating AST nodes
- Destructing AST nodes
- Traversing the AST
- Good practices
- Examples
API
The API exposes the following modules:
- PpxlibStandard library for ppx rewriters
- Ppxlib_ast
- Astlib
- Ppxlib_metaquot
- Ppxlib_metaquot_lifters
- Ppxlib_print_diff
- Ppxlib_runner
- Ppxlib_runner_as_ppx
- Stdppx
- Ppxlib_traverse
- Ppxlib_traverse_builtins