File read.scm
Version: | 1.0 |
Created: | Tue Jun 17 14:47:54 1997 |
Modified: | Wed Oct 15 10:43:33 1997 |
Copyright: | Dominique Boucher |
- Prototype:
(SCM-READ PORT)
- Description:
Reads a top-level expression (one that starts a the beginning of a line)
or a documentation comment.
- Arguments:
PORT
:
The port from which to read
- Return:
A two-element list, the first being the type of the data
read ('expression or a doc-comment type), the second being
the expression read or the documentation string.
- Prototype:
(READ-TO-NEXT-LINE PORT)
- Description:
Reads all the characters up to the end of the line and put
them in a string.
- Arguments:
PORT
:
The port from which the function reads
- Return:
A string containing all the characters read, excluding
the end-of-line character
- Prototype:
(READ-DOC-COMMENT PORT)
- Description:
Reads a documentation comment, one that starts at the beginning
of a line
- Arguments:
PORT
:
The port from which the function reads the comment
- Return:
A two-element list, the first being the type of the comment
and the other being the documentation string
- Prototype:
(PACK-DOC-STRINGS LST)
- Description:
Since documentation strings can span many lines, we must pack
all the related doc strings.
- Arguments:
LST
:
A list of documentation string objects
- Return:
A packed list of doc. string objects
File created automatically by SCMDOC on Wed Oct 15 10:43:35 1997