package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.2.tar.gz
sha512=e260412b2dd0f98cfe3dc7ed5c31a694eb31c93cd207c51fa12675b790234ee0ad3bf07d9be17a4dc266fedfe55b14c967cad7bc0c9414063eef8afd59f3d0d1

doc/orsetto.cf/Cf_annot/Textual/index.html

Module Cf_annot.Textual

A submodule containing specializations for textual representations.

module Serial : sig ... end

The signature of a serial number type, c.f. RFC 1982.

type line = private
  1. | Line of {
    1. number : int;
    2. stream : string;
    3. octets : int64;
    4. crpred : bool;
    }

Position of the start of a line of text.

type position = private
  1. | Position of {
    1. serial : Serial.t;
    2. line : line;
    3. column : int;
    4. lnadj : int64;
    }

Position of a coded symbol.

val initial_position : string -> position

Use initial_position s to obtain initial position in stream s.

module type Basis = sig ... end

The basis signature of text annotation systems.

module type Profile = sig ... end

The signature of annotation systems specialized for text.

module Create (B : Basis) : Profile with type symbol := B.Symbol.t

Use Create(B) to make an annotation system module for texts with symbols defined in B.

module ASCII : Profile with type symbol := char

A distinguished annotation system for 8-bit ASCII text.

module Unicode : sig ... end

A submodule defining a functor for creating annotations systems for Unicode texts with an abstraction of the transport form.

OCaml

Innovation. Community. Security.