package orsetto
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.cf/Cf_chain_scan/index.html
Module Cf_chain_scan
Parsers for sequences of delimited elements.
Overview
This module provides scanners specialized for parsing chains, i.e. sequences of grammar elements separated by a terminal delimiter, and optionally preceded and/or succeeded by a delimiter.
Interface
module type Basis = sig ... end
The basis signature of a chain scanning module.
module type Profile = sig ... end
The signature of a chain scanning module.
module Create
(B : Basis) :
Profile
with type symbol := B.symbol
and type 'a form := 'a B.form
and type mark := B.Scan.mark
and type 'a t := 'a B.Scan.t
Use Create(B)
to make a chain scanning module for B
.
module ASCII :
Profile
with type symbol := char
and type 'a form := 'a
and type mark := Cf_scan.ASCII.mark
and type 'a t := 'a Cf_scan.ASCII.t
A distinguished chain scanner for simple ASCII character symbols.