package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.1.tar.gz
sha256=81283687ce3204263bc955a332dd7b90bf5b648a990c01160f33aaa77d80962f
md5=7346293aa013c2a8974c6fb7c521166a

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.