orsetto.cf
DFA.Affix
This module extends the usual set of affix operators.
orsetto.cbor
orsetto.json
orsetto.ucs
include Cf_dfa.Affix with type event := char and type term := term and type 'a fin := 'a fin
val (!:) : char -> term
Use !: event as one event.
!: event
one event
val (!^) : (char -> bool) -> term
Use !^ f as sat f.
!^ f
sat f
val (!?) : term -> term
Use !? term as opt term
!? term
opt term
val (!*) : term -> term
Use !* term as star term
!* term
star term
val (!+) : term -> term
Use !+ term as seq ~a:1 term
!+ term
seq ~a:1 term
val ($|) : term -> term -> term
Use a $| b as alt2 a b
a $| b
alt2 a b
val ($&) : term -> term -> term
Use a $& b as cat2 a b
a $& b
cat2 a b
val ($=) : term -> 'r -> 'r fin
Use term $= v as fin term v
term $= v
fin term v
val (!$) : string -> term
Using !:s is the same as string_to_term s.
!:s
string_to_term s
val ($$=) : string -> 'a -> 'a fin
Using s $$= v is the same as fin (string_to_term s) v.
s $$= v
fin (string_to_term s) v