package orsetto

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

r1.1.2.tar.gz
sha512=e260412b2dd0f98cfe3dc7ed5c31a694eb31c93cd207c51fa12675b790234ee0ad3bf07d9be17a4dc266fedfe55b14c967cad7bc0c9414063eef8afd59f3d0d1

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.