package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.tar.gz
sha256=6e6f59fc6a2c590b1b377e40f2120a548e6f09e61e7eb12ffa45cf2d517316b8
md5=533153cd4a9fe8093d3b98afc1073bc8

doc/orsetto.cf/Cf_lex_scan/ASCII/Affix/index.html

Module ASCII.Affix

This module contains useful affix operators.

Include the affix operators for the DFA module.

include Cf_dfa.Affix with type event := char and type term := DFA.term and type 'r fin := 'r DFA.fin
val (!:) : char -> DFA.term

Use !: event as one event.

val (!^) : (char -> bool) -> DFA.term

Use !^ f as sat f.

val (!?) : DFA.term -> DFA.term

Use !? term as opt term

val (!*) : DFA.term -> DFA.term

Use !* term as star term

val (!+) : DFA.term -> DFA.term

Use !+ term as seq ~a:1 term

val ($|) : DFA.term -> DFA.term -> DFA.term

Use a $| b as alt2 a b

val ($&) : DFA.term -> DFA.term -> DFA.term

Use a $& b as cat2 a b

val ($=) : DFA.term -> 'r -> 'r DFA.fin

Use term $= v as fin term v

val (!$) : string -> DFA.term

Use !$ s as string_to_term s.

val (?$$) : string -> string Cf_scan.ASCII.t

Use ?$$ s as simple (string_to_form s).

val ($$>) : string -> (string -> 'a) -> 'a rule

Use t $$> f as rule (string_to_form s) f.

OCaml

Innovation. Community. Security.