Scheme (programming language)

This is an old revision of this page, as edited by Damian Yerrick (talk | contribs) at 21:33, 26 February 2002 (implementations section; examples section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The Scheme programming language is a functional programming language which is a dialect of Lisp. It was developed by Guy L. Steele and Gerald J. Sussman in the 1970s.

It was the first variety of Lisp to feature lexical variable scoping rather than dynamic variable scoping. Like Lisp, Scheme supports garbage collection of unreferenced data. It uses lists as primary data structure, and list operations such as cdr and car.

Scheme's philosophy is unashamedly minimalist: provide as few primitive notions as possible, and let everything else be implemented on top of them. For instance, the main mechanism for governing control flow is tail recursion.

Why the curious name? Well, it was originally called "Schemer", in the tradition of the languages Planner and Conniver, but its authors used the ITS operating system which didn't allow filenames longer than 6 characters.

Standards

mention the standards here: R4RS (and earlier!), R5RS, and the IEEE standard. You can edit this page right now!

Examples

Scheme code can be found in at least the following Wikipedia articles:

Implementations

Additional Resources

  • http://www.schemers.org/ - A large collection of Scheme resources.
  • http://www.htdp.org/ - Online book How to Design Programs which purports to teach programming using Scheme. The authors seem to have some very clear ideas on how they think teaching programming should be done.
  • http://www.scheme.com/tspl2ed.html - Online book The Scheme Programming Language by R. Kent Dybvig. A useful language reference.