package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.3.tar.gz
sha512=9b654edb663ae697563f150824047052f3b1bf760398f24bce6350553f031f73c46b6337239a1acd871e61238597ea92046809e3358290ff14d6ba671b449085

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.