package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.3.tar.gz
sha512=9b654edb663ae697563f150824047052f3b1bf760398f24bce6350553f031f73c46b6337239a1acd871e61238597ea92046809e3358290ff14d6ba671b449085

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.