package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.0.1.tar.gz
sha256=f64814687276bad56483b2b8dfaaf70d0d6485f67fe5d44bff34bfa47af1896e
md5=3a15a377800cf988a310b4082406c685

doc/orsetto.cf/Cf_number_scan/Create/argument-1-B/index.html

Parameter Create.B

type symbol

The symbol type.

type position

The position type.

type +'a form

The value form type.

module Scan : Cf_scan.Profile with type symbol := symbol and type position := position and type 'a form := 'a form

The basic scanner module for the symbol type.

module Form : Cf_scan.Form with type 'a t := 'a form

The scanner production form.

val digitsym : radix -> symbol -> digit

Calls digitsym base sym to convert sym to its digit value under base. If sym is not a digit under the radix base, then returns a digit less than zero.

val signtok : symbol -> int option

Tokenizing function for recognizing a positive or negative sign. Returns either 1 or (-1) to represent the sign recognized.

val pointsat : symbol -> bool

Satisfier for decimla point characters.

val expsat : symbol -> bool

Satisfier for exponent symbols in scientific notation.

OCaml

Innovation. Community. Security.