Warning

This library is part of the internal OCaml compiler API, and is not the language standard library. There are no compatibility guarantees between releases, so code written against these modules must be willing to depend on specific OCaml compiler versions.
Ast_iterator

Ast_iterator.iterator allows to implement AST inspection using open recursion.

CamlinternalMenhirLib
Ast_invariants

Check AST invariants

Ast_mapper

The interface of a -ppx rewriter

Printast

Raw printer for Parsetree

Docstrings

Documentation comments

Syntaxerr

Auxiliary type for reporting syntax errors

Attr_helper

Helpers for attributes

Location

Source code locations (ranges of positions), used in parsetree

Longident

Long identifiers, used in parsetree.

Lexer

The lexical analyzer

Parse

Entry points in the parser

Ast_helper

Helpers to produce Parsetree fragments

Pprintast

Pretty-printers for Parsetree

Parsetree

Abstract syntax tree produced by parsing

Parser
Depend

Module dependencies.

Builtin_attributes

Support for some of the builtin attributes

Asttypes

Auxiliary AST types used by parsetree and typedtree.

Terminfo

Basic interface to the terminfo database

Clflags

Command line flags

Strongly_connected_components

Kosaraju's algorithm for strongly connected components.

Arg_helper

Decipher command line arguments of the form <value> | <key>=<value>,...

Targetint

Target processor-native integers.

Profile

Compiler performance recording

Ccomp

Compiling C files and building C libraries

Identifiable

Uniform interface for common data structures over various things.

Build_path_prefix_map

Rewrite paths for reproducible builds

Config

System configuration

Misc

Miscellaneous useful types and functions

Numbers

Modules about numbers, some of which satisfy Identifiable.S.

Consistbl

Consistency tables: for checking consistency of module CRCs

Warnings

Warning definitions

Typemod

Type-checking of the module language and typed ast plugin hooks

Simplif

Lambda simplification and lambda plugin hooks

Pparse

Driver for the parser, external preprocessors and ast plugin hooks