package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.tar.gz
sha256=6e6f59fc6a2c590b1b377e40f2120a548e6f09e61e7eb12ffa45cf2d517316b8
md5=533153cd4a9fe8093d3b98afc1073bc8

doc/orsetto.cf/Cf_annot/index.html

Module Cf_annot

Position annotation systems.

Overview

This module defines an interface for composing systems that annotate scanned or decoded values with the span of positions in the input stream where the represented value was found. Specializations of position information are provided for streams analyzed with

f_decode

as well as streams comprising lines of text.

A distinguished module is provided for annotating streams comprising texts encoded in 8-bit ASCII.

Interface
module Meta : sig ... end

Submodule comprising types for structured interchange of position data.

module type Basis = sig ... end

The basis signature for creating an annotation system.

module type Profile = sig ... end

The signture of an annotation system specialized on a basis module.

module Create (B : Basis) : Profile with type symbol := B.Symbol.t and type position := B.Position.t and type Meta.fields := B.Meta.fields

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

module Coded : sig ... end

A submodule containing specializations for use with

module Textual : sig ... end

A submodule containing specializations for textual representations.

OCaml

Innovation. Community. Security.