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_helper
Helpers to produce Parsetree fragmentsAst_invariants
Check AST invariantsAst_iterator
Ast_iterator.iterator
enables AST inspection using open recursion. A typical mapper would be based on Ast_iterator.default_iterator
, a trivial iterator, and will fall back on it for handling the syntax it does not modify.Ast_mapper
The interface of a -ppx rewriterAsttypes
Auxiliary AST types used by parsetree and typedtree.Attr_helper
Helpers for attributesBuiltin_attributes
Support for some of the builtin attributesCamlinternalMenhirLib
Depend
Module dependencies.Docstrings
Documentation commentsLexer
The lexical analyzerLocation
Source code locations (ranges of positions), used in parsetree.Longident
Long identifiers, used in parsetree.Parse
Entry points in the parserParser
Parsetree
Abstract syntax tree produced by parsingPprintast
Pretty-printers for Parsetree
Printast
Raw printer for Parsetree
Syntaxerr
Auxiliary type for reporting syntax errorsArg_helper
Decipher command line arguments of the form <value> | <key>=<value>,...
Binutils
Build_path_prefix_map
Rewrite paths for reproducible buildsCcomp
Compiling C files and building C librariesClflags
Command line flagsConfig
System configurationConsistbl
Consistency tables: for checking consistency of module CRCsDiffing
Parametric diffingDiffing_with_keys
When diffing lists where each element has a distinct key, we can refine the diffing patch by introducing two composite edit moves: swaps and moves.Domainstate
Identifiable
Uniform interface for common data structures over various things.Int_replace_polymorphic_compare
Lazy_backtrack
Load_path
Management of include directories.Local_store
This module provides some facilities for creating references (and hash tables) which can easily be snapshoted and restored to an arbitrary version.Misc
Miscellaneous useful types and functionsNumbers
Modules about numbers, some of which satisfy Identifiable.S
.Profile
Compiler performance recordingStrongly_connected_components
Kosaraju's algorithm for strongly connected components.Targetint
Target processor-native integers.Terminfo
Basic interface to the terminfo databaseWarnings
Warning definitionsPparse
Driver for the parser and external preprocessors.