NumTok.Unsignedval is_nat : t -> boolval to_nat : t -> string optionval sprint : t -> stringval parse : (unit, char) Gramlib.Stream.t -> tParse a positive Coq number. Precondition: the first char on the stream is already known to be a digit ([0-9]). Precondition: at least two extra chars after the number to parse.
The recognized syntax is:
val parse_string : string -> t optionParse the string as a non negative Coq number, if possible