package orsetto
A library of assorted structured data interchange languages
Install
Dune Dependency
Authors
Maintainers
Sources
r1.1.3.tar.gz
sha512=9b654edb663ae697563f150824047052f3b1bf760398f24bce6350553f031f73c46b6337239a1acd871e61238597ea92046809e3358290ff14d6ba671b449085
doc/orsetto.cf/Cf_lex_scan/ASCII/index.html
Module Cf_lex_scan.ASCII
A distinguished lexical analyzer for simple ASCII character symbols.
module DFA : Cf_dfa.Regular with type event := char
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 -> string Cf_scan.ASCII.t
Use simple t
to make a scanner that produces lexemes matching t
.
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 Cf_scan.ASCII.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)"
>