package orsetto
Install
Dune Dependency
Authors
Maintainers
Sources
sha512=e260412b2dd0f98cfe3dc7ed5c31a694eb31c93cd207c51fa12675b790234ee0ad3bf07d9be17a4dc266fedfe55b14c967cad7bc0c9414063eef8afd59f3d0d1
doc/orsetto.cf/Cf_data_ingest/Create/argument-1-B/index.html
Parameter Create.B
module Form : Cf_scan.Form
The form module for interchange language scanners.
module Scan :
Cf_scan.Profile
with type symbol := symbol
and type position := position
and type 'a form := 'a Form.t
The interchange language scanner module.
val primitive : 'a Cf_type.nym -> 'a Form.t Scan.t
The scanner compiler uses primitive n
to obtain a scanner for the primitive type named by n
.
The scanner compiler uses control s c
to compose a scanner representing the application of control c
to the value recognized by the scanner s
.
The scanner compiler uses start c q
to compose a scanner that recognizes the start of a sequence of kind c
with length limited by q
and produces an abstract frame value annotated with the location of the start in the input stream.
The scanner compiler uses visit c w f v
to compose a scanner that visits with f
every element in a sequence of kind c
in the context w
. The first element is visited with the initializer v
, and each following element is visited with the value returned by the preceding scanner.
The scanner compiler uses finish w
to compose a scanner that recognizes the end of the sequence that started upon producing w
.
The scanner compiler uses pair c k v
to compose a scanner that recognizes a pair of kind c
comprising a first item recognized by k
and a second item recognized by v
.