package atd

  1. Overview
  2. Docs

Module AtdSource

Sourcemodule Annot : sig ... end

Utilities for interpreting annotations of type Ast.annot

Sourcemodule Ast : sig ... end

Abstract syntax tree (AST) representing ATD data

Sourcemodule Check : sig ... end

Check the validity of an ATD file beyond syntax.

Sourcemodule Doc : sig ... end

Support for <doc text="..."> annotations:

Sourcemodule Doc_lexer : sig ... end
Sourcemodule Doc_types : sig ... end
Sourcemodule Expand : sig ... end

Monomorphization of type definitions

Sourcemodule Import : sig ... end
Sourcemodule Inherit : sig ... end

Expansion of inherit statements

Sourcemodule Json : sig ... end

Mapping from ATD to JSON

Sourcemodule Jsonschema : sig ... end

Translate an ATD file to JSON Schema, honoring the <json ...> annotations.

Sourcemodule Lexer : sig ... end
Sourcemodule Parser : sig ... end
Sourcemodule Predef : sig ... end

The collection of core types known by ATD.

Sourcemodule Print : sig ... end

Pretty-printing of ATD data

Sourcemodule Reflect : sig ... end

Conversion of an AST value into OCaml source code that creates this value

Sourcemodule Sort : sig ... end

Topological sort that doesn't give up on cycles.

Sourcemodule Unique_name : sig ... end

Functions to translate an identifier into one that's not reserved or already taken.

Sourcemodule Util : sig ... end

Top-level utilities

Sourcemodule Version : sig ... end
OCaml

Innovation. Community. Security.