🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.lisp.x
2 messages
2 total messages Started by Kym M. Hill Mon, 09 Nov 1992 07:39
read-from-string
#212
Author: Kym M. Hill
Date: Mon, 09 Nov 1992 07:39
12 lines
770 bytes

Hi,
	trying to port code from cl. How do i simulate a read-from-string?

						Ta
							Sp.
--
 ------------------------------------------------------------------------
|  Kym M. Hill               |                                |  _--_|\  |
|  Department of Mathematics |--------------------------------| /      \ |
|  University of Tasmania    |            E-Mail:             | \_.--._/ | 
Re: read-from-string
#213
Author: Tom Almy
Date: Mon, 09 Nov 1992 23:06
15 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads