Skip to content
PARSE-NUMBER is a library of functions for parsing strings into one of the standard Common Lisp number types without using the reader. http://cliki.net/parse-number
Common Lisp
Find file
Latest commit 094efb0 @luismbo luismbo Fix ASDF metadata about the project license
Fixes issue #6.

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.