package dune-private-libs

  1. Overview
  2. Docs
Private libraries of Dune

Install

Dune Dependency

Authors

Maintainers

Sources

dune-2.5.1.tbz
sha256=8f77d3a87f208e0d7cccaa1c48c4bb1bb87d62d07c3f25e9b8ba298e028ce52b
sha512=f209f12ced10c1abf8782bdb0143f4cec77795f7174d2cc75130afb1e01550b01f2f77b9e3ec4888efdad83d2f9878d179b39126f824f4e522f3ef4da34bf27e

doc/dune-private-libs.dune-lang/Dune_lang/index.html

Module Dune_lang

module Ast : sig ... end

Abstract syntax tree

module Atom : sig ... end
module Conv : sig ... end

Encoding + Decoding

module Cst : sig ... end

Concrete syntax tree

module Decoder : sig ... end

Reading OCaml values from dune lang ones

module Encoder : sig ... end

Producing dune lang values from OCaml values

module Lexer : sig ... end
module Parser : sig ... end

Parsing of the Dune language

module Syntax : sig ... end

Management of syntaxes

module Template : sig ... end
module Versioned_file : sig ... end

Implementation of versioned files

Parsing of s-expressions.

This library is internal to dune and guarantees no API stability.

type t =
  1. | Atom of Atom.t
  2. | Quoted_string of string
  3. | List of t list
  4. | Template of Template.t

The S-expression type

val atom : string -> t

atom s convert the string s to an Atom. NOTE No validity check is performed.

val atom_or_quoted_string : string -> t
val unsafe_atom_of_string : string -> t
val to_string : t -> string

Serialize a S-expression

val pp : t -> _ Stdune.Pp.t

Serialize a S-expression using indentation to improve readability

module Deprecated : sig ... end
val to_dyn : t Stdune.Dyn.Encoder.t
OCaml

Innovation. Community. Security.