package orsetto
A library of assorted structured data interchange languages
Install
dune-project
Dependency
Authors
Maintainers
Sources
r1.1.tar.gz
sha256=6e6f59fc6a2c590b1b377e40f2120a548e6f09e61e7eb12ffa45cf2d517316b8
md5=533153cd4a9fe8093d3b98afc1073bc8
doc/orsetto.cf/Cf_lex_scan/Create/index.html
Module Cf_lex_scan.Create
Use Create(B)
to make a lexical analyzing scanner.
Parameters
Signature
module DFA : Cf_dfa.Regular with type event := B.symbol
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
.
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.
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)"
>
On This Page