orsetto.cf
Create.Affix
This module contains useful affix operators.
orsetto.cbor
orsetto.json
orsetto.ucs
Include the affix operators for the DFA module.
include Cf_dfa.Affix with type event := B.symbol and type term := DFA.term and type 'r fin := 'r DFA.fin
val (!:) : B.symbol -> DFA.term
Use !: event as one event.
!: event
one event
val (!^) : (B.symbol -> bool) -> DFA.term
Use !^ f as sat f.
!^ f
sat f
val (!?) : DFA.term -> DFA.term
Use !? term as opt term
!? term
opt term
val (!*) : DFA.term -> DFA.term
Use !* term as star term
!* term
star term
val (!+) : DFA.term -> DFA.term
Use !+ term as seq ~a:1 term
!+ term
seq ~a:1 term
val ($|) : DFA.term -> DFA.term -> DFA.term
Use a $| b as alt2 a b
a $| b
alt2 a b
val ($&) : DFA.term -> DFA.term -> DFA.term
Use a $& b as cat2 a b
a $& b
cat2 a b
val ($=) : DFA.term -> 'r -> 'r DFA.fin
Use term $= v as fin term v
term $= v
fin term v
val (!$) : string -> DFA.term
Use !$ s as string_to_term s.
!$ s
string_to_term s
val (?$$) : string -> B.lexeme B.form B.Scan.t
Use ?$$ s as simple (string_to_form s).
?$$ s
simple (string_to_form s)
val ($$>) : string -> (B.lexeme B.form -> 'a) -> 'a rule
Use t $$> f as rule (string_to_form s) f.
t $$> f
rule (string_to_form s) f