sharplispers / parse-number

PARSE-NUMBER is a library of functions for parsing strings into one of the standard Common Lisp number types without using the reader.

Home Page:http://cliki.net/parse-number

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

-*- 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

About

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


Languages

Language:Common Lisp 100.0%