package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.1.tar.gz
sha256=81283687ce3204263bc955a332dd7b90bf5b648a990c01160f33aaa77d80962f
md5=7346293aa013c2a8974c6fb7c521166a

doc/orsetto.ucs/Ucs_scan/index.html

Module Ucs_scan

Functional LL(x) parsing of Unicode text with monadic combinators.

Overview

This module specializes the

f_scan

core foundation parser combinator interface for use with Unicode texts. A scanner is a functional left-shift/left-reduce parser combinator, using a state-exception monad over the stream of input code points annotated with their position in the stream.

Interface
module type Profile = sig ... end

The signature of a Unicode scanner module.

Use Create(UTF) to make scanner module for the encoding UTF.

module UTF8 : Profile

The distinguished scanner for UTF-8 encoded texts.

val create : [< Ucs_transport.id ] -> (module Profile)

Use create utf to make a scanner module for the UTF-8 encoding corresponding to utf.

OCaml

Innovation. Community. Security.