racket/collects/r5rs/doc.txt
Eli Barzilay 4e2d8a5b87 Rename r5rs/r5rs.ss -> r5rs/lang.ss
Create a new r5rs/r5rs.ss that can be required to make an R5RS repl

svn: r1163
2005-10-26 07:22:24 +00:00

30 lines
957 B
Plaintext

_R5RS_
The "r5rs" collection implements the language defined by the
"Revised^5 Report on the Algorithmic Language Scheme" in the "lang.ss"
module. In addition, this module provides _#%provide_ (instead of
`provide'), _#%require_ (instead of `#%require'), `#%app', `%datum',
etc. The `letrec' of this language is defined exactly as in R5RS, and
not as in MzScheme.
You can use this collection in several ways:
* Use the "Standard (R5RS)" language in DrScheme.
* Write code in a module using the R5RS module (lib "lang.ss" "r5rs"),
as a base language:
(module foo (lib "lang.ss" "r5rs")
...)
in this case, you can `provide' bindings and `require' other modules
by using _#%require_ and _#%provide_.
* Start MzScheme using bindings from the R5RS language with
mzscheme -M r5rs
This will start MzScheme with only the R5RS bindings (with #%require
etc), and a reader that will reject use of square brackets and curly
braces.