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.

Builtin_attributes

Support for some of the builtin attributes

Longident

Long identifiers, used in parsetree.

CamlinternalMenhirLib
Ast_mapper

The interface of a -ppx rewriter

Printast

Raw printer for Parsetree

Depend

Module dependencies.

Pprintast

Pretty-printers for Parsetree

Location

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

Ast_helper

Helpers to produce Parsetree fragments

Syntaxerr

Auxiliary type for reporting syntax errors

Attr_helper

Helpers for attributes

Parsetree

Abstract syntax tree produced by parsing

Asttypes

Auxiliary AST types used by parsetree and typedtree.

Lexer

The lexical analyzer

Parser
Docstrings

Documentation comments

Parse

Entry points in the parser

Ast_invariants

Check AST invariants

Terminfo

Basic interface to the terminfo database

Clflags

Command line flags

Identifiable

Uniform interface for common data structures over various things.

Strongly_connected_components

Kosaraju's algorithm for strongly connected components.

Misc

Miscellaneous useful types and functions

Targetint

Target processor-native integers.

Profile

Compiler performance recording

Numbers

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

Consistbl

Consistency tables: for checking consistency of module CRCs

Warnings

Warning definitions

Ccomp

Compiling C files and building C libraries

Build_path_prefix_map

Rewrite paths for reproducible builds

Config

System configuration

Arg_helper

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

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