Feedback

X
Scheme 9 from Empty Space - T3X.ORG

Scheme 9 from Empty Space - T3X.ORG

en

0 Ungluers have Faved this Work

This textbook contains the complete and heavily commented source code to an interpreter for a broad subset of R5RS Scheme. It covers many essential properties of the language, including:

-- automatic memory management
-- lexical closures
-- tail recursion (tail call elimination)
-- syntax transformation (macros)
-- arbitrary precision (bignum) arithmetics

The book is not exactly for beginners, because the better part of it consists of code. Although the code is very straight-forward, some familiarity with both C and Scheme is required to follow it.

The code appears in the same order as in the actual source file, so some forward references occur. Expect to read the code at least twice unless you jump to forward references while reading it. If you intend to do so: the index contains the page number of each function, procedure, constant, and variable declared anywhere in the program.

Because the text contains the whole code of the interpreter, there will be advanced parts and easy parts. Feel free to skip parts that you consider trivial. Parts that are complex can often be identified by the larger amount of annotations and figures that surround them.

You might even want to download a copy of the source code from the Scheme 9 from Empty Space section at http://t3x.org and study the actual code and the book at the same time. Source code that the book comments on has been archived. (also, R4RS interpreter 2009 update).

Print copies and newer editions available from https://t3x.org/s9book/index.html

 

Why read this book? Have your say.

You must be logged in to comment.

Rights Information

Are you the author or publisher of this work? If so, you can claim it as yours by registering as an Unglue.it rights holder.

Downloads

This work has been downloaded 155 times via unglue.it ebook links.
  1. 155 - pdf (PD-US) at Unglue.it.

Keywords

  • Computers
  • Computers / Compilers
  • Textbooks

Links

web: https://t3x.org/s9book/index.html

Editions

edition cover

Share

Copy/paste this into your site: