Go to the first, previous, next, last section, table of contents.


Input Functions

Function: read-char stream
Read and return the next character from the input stream stream. If the end of the stream is reached nil is returned.

Function: read-line stream
This function reads one line of characters from the input stream stream, creates a string containing the line (including the newline character which terminates the line) and returns it.

If the end of stream is reached before any characters can be read nil is returned, if the end of stream is reached but some characters have been read (but not the newline) these characters are made into a string and returned.

Note that unlike the Common Lisp function of the same name, the newline character is not removed from the returned string.

Function: read stream
This function is the function which contains the Lisp reader (see section The Lisp Reader). It reads as many characters from the input stream stream as it needs to make the read syntax of a single Lisp object (see section Read Syntax), this object is then returned.

Function: read-from-string string &optional start
Reads one Lisp object from the string string, the first character is read from position start (or position zero).

(read-from-string string start)
==
(read (make-string-input-stream string start))


Go to the first, previous, next, last section, table of contents.