Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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
tag: v1.3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
parse-number.asd
parse-number.lisp
tests.lisp
version.lisp-expr

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.