Article View: comp.lang.lisp.x
Article #213Re: read-from-string
From: Tom Almy
Date: Mon, 09 Nov 1992 23:06
Date: Mon, 09 Nov 1992 23:06
15 lines
837 bytes
837 bytes
In article <1992Nov9.073922.22692@newsroom.utas.edu.au> hill@hilbert.cc.utas.edu.au (Kym M. Hill) writes:
> trying to port code from cl. How do i simulate a read-from-string?
This is the easiest way:
(defun read-from-string (arg)
(read (make-string-input-stream arg)))
if you don't need any of the optional arguments. If you do, send me a message.
--
Tom Almy
toma@sail.labs.tek.com
Standard Disclaimers Apply
Technical Details
Message-ID:
<12864@sail.LABS.TEK.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!news.tek.com!sail!tomaReferences:
<1992Nov9.073922.22692@newsroom.utas.edu.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!news.tek.com!sail!toma From: toma@sail.LABS.TEK.COM (Tom Almy) Newsgroups: comp.lang.lisp.x Subject: Re: read-from-string Message-ID: <12864@sail.LABS.TEK.COM> Date: 9 Nov 92 23:06:23 GMT Article-I.D.: sail.12864 References: <1992Nov9.073922.22692@newsroom.utas.edu.au> Reply-To: toma@sail.labs.tek.com Organization: Tektronix, Inc., Beaverton, OR. Lines: 15