package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.0.tar.gz
sha256=585297372d7f6cfb830214e9ef22d6d072a39b2a1591ef90f1ee2bcfe144cad3
md5=6bb6a7ba88bf2c7595a0b332921e60b4

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.