From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: Determining whitespace Date: 13 Oct 2002 23:28:21 +0000 Organization: Naggum Software, Oslo, Norway Lines: 24 Message-ID: <3243540501105910@naggum.no> References: <3243432163983480@naggum.no> <3243450731199834@naggum.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: maud.ifi.uio.no 1034551701 5364 129.240.65.5 (13 Oct 2002 23:28:21 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 13 Oct 2002 23:28:21 GMT Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.lisp:43827 * Matthew X. Economou | I thought it would be a lower-level function suitable for use in a reader | macro (or other user-input routine), just as PARSE-INTEGER seems to be | used by READ. `parse-integerĀ“ is not used by `readĀ“. | I didn't realize how complicated it could be until I took a look at the | source code to the IP address parsing routines in several different | operating systems and resolver libraries. No kidding. People do so many horrible things you could cry. | I was processing the input string character by character, instead of | converting it to a string-stream. Ideally, a string-stream should be better from all perspectives, but is often much more expensive than need be. -- Erik Naggum, Oslo, Norway Act from reason, and failure makes you rethink and study harder. Act from faith, and failure makes you blame someone and push harder.