Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PARSE-NUMBER is a library of functions for parsing strings into one of the standard Common Lisp number types without using the reader.
Common Lisp
Branch: master
Failed to load latest commit information.
README
parse-number.asd
parse-number.lisp Canonicalize whitespace
tests.lisp Canonicalize whitespace
version.lisp-expr Release 1.4

README

-*- Outline -*-

PARSE-NUMBER is a library of functions which accept an arbitrary
string and attempt to parse it, if possible into one of the standard
Common Lisp number types without using the reader, or else signal an
error of type INVALID-NUMBER

* Functions

 PARSE-NUMBER (string &key start end radix)

 PARSE-REAL-NUMBER (string &key start end radix)

 PARSE-POSITIVE-REAL-NUMBER (string &key start end radix)

* Error conditions

 INVALID-NUMBER (inherits PARSE-ERROR)

** Accessors

 INVALID-NUMBER-VALUE
 INVALID-NUMBER-REASON
Something went wrong with that request. Please try again.