(guile.info.gz) Scheme Read
Info Catalog
(guile.info.gz) Scheme Syntax
(guile.info.gz) Read/Load/Eval
(guile.info.gz) Fly Evaluation
28.2 Reading Scheme Code
========================
-- Scheme Procedure: read [port]
-- C Function: scm_read (port)
Read an s-expression from the input port PORT, or from the current
input port if PORT is not specified. Any whitespace before the
next token is discarded.
The behaviour of Guile's Scheme reader can be modified by
manipulating its read options. For more information about options,
User level options interfaces. If you want to know which
reader options are available, Reader options.
-- Scheme Procedure: read-options [setting]
Display the current settings of the read options. If SETTING is
omitted, only a short form of the current read options is printed.
Otherwise, SETTING should be one of the following symbols:
`help'
Display the complete option settings.
`full'
Like `help', but also print programmer options.
-- Scheme Procedure: read-enable option-name
-- Scheme Procedure: read-disable option-name
-- Scheme Procedure: read-set! option-name value
Modify the read options. `read-enable' should be used with boolean
options and switches them on, `read-disable' switches them off.
`read-set!' can be used to set an option to a specific value.
-- Scheme Procedure: read-options-interface [setting]
-- C Function: scm_read_options (setting)
Option interface for the read options. Instead of using this
procedure directly, use the procedures `read-enable',
`read-disable', `read-set!' and `read-options'.
Info Catalog
(guile.info.gz) Scheme Syntax
(guile.info.gz) Read/Load/Eval
(guile.info.gz) Fly Evaluation
automatically generated byinfo2html