package orsetto
A library of assorted structured data interchange languages
Install
Dune Dependency
Authors
Maintainers
Sources
r1.0.1.tar.gz
sha256=f64814687276bad56483b2b8dfaaf70d0d6485f67fe5d44bff34bfa47af1896e
md5=3a15a377800cf988a310b4082406c685
doc/orsetto.ucs/Ucs_lex_scan/UTF8/index.html
Module Ucs_lex_scan.UTF8
A distinguished lexical analyzer for the UTF-8 scanner.
module DFA : Cf_dfa.Regular with type event := Uchar.t
The regular syntax terms.
val string_to_term : string -> DFA.term
Use string_to_term s
to make a DFA term that represents the regular expression denoted by s
.
val simple : DFA.term -> Ucs_text.t Ucs_scan.UTF8.Annot.form Ucs_scan.UTF8.t
Use simple t
to make a scanner that produces lexemes matching t
.
val rule : DFA.term -> (Ucs_text.t Ucs_scan.UTF8.Annot.form -> 'a) -> 'a rule
Use rule t f
to make a rule to apply lexemes that match t
to the production function f
to make the value produced by the analyzer.
val analyze : 'a rule Seq.t -> 'a Ucs_scan.UTF8.t
Use analyze s
to make a lexical analyzing scanner that produces the annotated value from the first rule in s
that matches the longest lexeme accepted by the DFA.
module Affix : sig ... end
This module contains useful affix operators.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>