home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / scheme-faq / part1 next >
Internet Message Format  |  1997-08-14  |  57KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!nntprelay.mathworks.com!news.maxwell.syr.edu!news.cis.ohio-state.edu!nntp.sei.cmu.edu!fs7.ece.cmu.edu!cantaloupe.srv.cs.cmu.edu!mkant
  2. From: mkant+@cs.cmu.edu (Mark Kantrowitz)
  3. Newsgroups: comp.lang.scheme,comp.lang.lisp,news.answers,comp.answers
  4. Subject: FAQ: Scheme Frequently Asked Questions 1/2 [Monthly posting]
  5. Supersedes: <SCHEME_1_868777228@CS.CMU.EDU>
  6. Followup-To: poster
  7. Date: 13 Aug 1997 07:19:09 GMT
  8. Organization: Carnegie-Mellon University, School of Computer Science
  9. Lines: 1149
  10. Approved: news-answers-request@MIT.Edu
  11. Distribution: world
  12. Expires: 24 Sep 1997 07:00:20 GMT
  13. Message-ID: <SCHEME_1_871455620@CS.CMU.EDU>
  14. Reply-To: ai+lisp-faq@cs.cmu.edu
  15. NNTP-Posting-Host: glinda.oz.cs.cmu.edu
  16. Xref: senator-bedfellow.mit.edu comp.lang.scheme:21665 comp.lang.lisp:28928 news.answers:109683 comp.answers:27563
  17.  
  18. Archive-name: scheme-faq/part1
  19. Last-Modified: Wed Apr 30 14:13:24 1997 by Mark Kantrowitz
  20. Version: 1.30
  21. Maintainer: Mark Kantrowitz and Barry Margolin <ai+lisp-faq@cs.cmu.edu>
  22. URL: http://www.cs.cmu.edu/Web/Groups/AI/html/faqs/lang/scheme/top.html
  23. Size: 56149 bytes, 1157 lines
  24.  
  25. ;;; ****************************************************************
  26. ;;; Answers to Frequently Asked Questions about Scheme *************
  27. ;;; ****************************************************************
  28. ;;; Written by Mark Kantrowitz and Barry Margolin
  29. ;;; scheme_1.faq 
  30.  
  31. This post contains part 1 of the Scheme FAQ.
  32.  
  33. If you think of questions that are appropriate for this FAQ, or would
  34. like to improve an answer, please send email to us at ai+lisp-faq@cs.cmu.edu.
  35.  
  36. Note that the lisp-faq mailing list is for discussion of the content
  37. of the FAQ posting only.  It is not the place to ask questions about Scheme;
  38. use either the scheme@ai.mit.edu mailing list, the comp.lang.scheme
  39. newsgroup or the Scheme Digest (scheme@mc.lcs.mit.edu) for that. If a
  40. question appears frequently in one of those forums, it will get added
  41. to the FAQ list. 
  42.  
  43. *** Copyright:
  44.  
  45. Copyright (c) 1993-94 by Mark Kantrowitz and Barry Margolin. 
  46. All rights reserved. 
  47.  
  48. This FAQ may be freely redistributed in its entirety without
  49. modification provided that this copyright notice is not removed.  It
  50. may not be sold for profit or incorporated in commercial documents
  51. (e.g., published for sale on CD-ROM, floppy disks, books, magazines,
  52. or other print form) without the prior written permission of the
  53. copyright holder.  Permission is expressly granted for this document
  54. to be made available for file transfer from installations offering
  55. unrestricted anonymous file transfer on the Internet.
  56.  
  57. If this FAQ is reproduced in offline media (e.g., CD-ROM, print form,
  58. etc.), a complimentary copy should be sent to Mark Kantrowitz, School
  59. of Computer Science, Carnegie Mellon University, 5000 Forbes Avenue,
  60. Pittsburgh, PA 15213-3891 USA.
  61.  
  62. This article is provided AS IS without any express or implied warranty.
  63.  
  64. *** Topics Covered:
  65.  
  66. Topics Covered (Part 1):
  67.   [1-0]   What is the purpose of this newsgroup?
  68.   [1-2]   What is the difference between Scheme and Common Lisp?
  69.   [1-3]   Scheme books, introductions, documentation, periodicals,
  70.           journals, and conference proceedings. 
  71.   [1-4]   Where can I learn about implementing Scheme interpreters and 
  72.           compilers?
  73.   [1-7]   Standards for Scheme -- What are R4RS and IEEE P1178?
  74.   [1-8]   How do I do object-oriented programming in Scheme?
  75.   [1-9]   Repositories of Scheme Software
  76.   [1-10]  Publicly Redistributable Scheme Software
  77.   [1-11]  Formatting code in LaTeX (WEB and other literate programming tools)
  78.   [1-12]  Where can I get an implementation of Prolog in Scheme?
  79.   [1-13]  What does SICP, SCOOPS, R4RS, CAR, CDR, ... mean?
  80.   [1-14]  Why is there no EVAL in Scheme?
  81.   [1-15]  World-Wide Web (WWW) Resources
  82.   [1-16]  Why is Scheme called 'Scheme'?
  83.  
  84. Topics Covered (Part 2):
  85.   [2-1]   Free Scheme implementations.
  86.   [2-2]   Commercial Scheme implementations.
  87.   [2-3]   What Scheme-related discussion groups and mailing lists exist?
  88.  
  89. Search for \[#\] to get to question number # quickly.
  90.  
  91. *** Recent Changes:
  92.  
  93. ;;; 1.19:
  94. ;;; 20-OCT-94 mk    Added FTP location for Scheme84.
  95. ;;;  3-NOV-94 mk    FTP collections on altdorf.ai.mit.edu have moved to
  96. ;;;                 swiss-ftp.ai.mit.edu
  97. ;;;  3-NOV-94 mk    Added Christian Queinnec's Lisp book to [1-4].
  98. ;;;
  99. ;;; 1.20:
  100. ;;; 15-NOV-94 mk    Updated location of Ken Dickey article.
  101. ;;;
  102. ;;; 1.21:
  103. ;;; 22-NOV-94 mk    Scheme Repository at Indiana University WWW page.
  104. ;;;  7-DEC-94 mk    Updated EdScheme entry in [2-2].
  105. ;;;
  106. ;;; 1.22:
  107. ;;; 16-JAN-95 mk    Updated Schemers entry. 
  108. ;;; 31-JAN-95 mk    Added Manis' book to [1-3].
  109. ;;;
  110. ;;; 1.23:
  111. ;;; 13-MAR-95 mk    Updated EdScheme and 3DScheme for Windows in part 2.
  112. ;;;  7-APR-95 mk    Added Scsh entry provided by Olin Shivers to [2-1].
  113. ;;;
  114. ;;; 1.24:
  115. ;;; 14-APR-95 mk    Updated description of the Schemer's Guide.
  116. ;;;
  117. ;;; 1.25:
  118. ;;; 13-JUL-95 mk    Updated 3d-Scheme entry in part 2.
  119. ;;;
  120. ;;; 1.26:
  121. ;;; 17-AUG-95 mk    Updated ELK entry in part 2.
  122. ;;; 11-SEP-95 mk    Updated EdScheme and 3DScheme for Windows entries in part
  123. ;;;                 2.
  124. ;;; 19-FEB-96 mk    Updated Schemer's entry in part 2.
  125. ;;; 19-MAR-96 mk    Added entry on comp.lang.scheme.scsh to part 2.
  126. ;;; 13-NOV-96 mk    Added entry for MzScheme.
  127. ;;; 30-APR-97 mk    Added Inlab Scheme to [2-2].
  128.  
  129. *** Introduction:
  130.  
  131. Certain questions and topics come up frequently in the various network
  132. discussion groups devoted to and related to Scheme.  This file/article is
  133. an attempt to gather these questions and their answers into a convenient
  134. reference for Scheme programmers.  It (or a reference to it) is posted
  135. periodically.  The hope is that this will cut down on the user time and
  136. network bandwidth used to post, read and respond to the same questions
  137. over and over, as well as providing education by answering questions
  138. some readers may not even have thought to ask.
  139.  
  140. This is not a Scheme tutorial, nor is it an exhaustive list of all Scheme
  141. intricacies.  Scheme is a very powerful and expressive language, but with
  142. that power comes many complexities.  This list attempts to address the
  143. ones that average Scheme programmers are likely to encounter.  If you are
  144. new to Scheme, see the answer to the question "How can I learn
  145. Scheme?" [1-3].
  146.  
  147. The latest version of this file is available via anonymous FTP from CMU: 
  148.  
  149.    To obtain the files from CMU, connect by anonymous FTP to 
  150.       ftp.cs.cmu.edu:/user/ai/pubs/faqs/scheme/  [128.2.206.173]
  151.    using username "anonymous" and password "name@host" (substitute your
  152.    email address) or via AFS in the Andrew File System directory
  153.       /afs/cs.cmu.edu/project/ai-repository/ai/pubs/faqs/scheme/
  154.    and get the files scheme_1.faq and scheme_2.faq.
  155.  
  156. You can also obtain a copy of the FAQ by sending a message to
  157. ai+query@cs.cmu.edu with 
  158.    Send Scheme FAQ
  159. in the message body.
  160.  
  161. An automatically generated HTML version of the Scheme FAQ is accessible by
  162. WWW as part of the AI-related FAQs Mosaic page. The URL for this
  163. resource is
  164.    http://www.cs.cmu.edu/Web/Groups/AI/html/faqs/top.html
  165. The direct URL for the Lisp FAQ is
  166.    http://www.cs.cmu.edu/Web/Groups/AI/html/faqs/lang/scheme/top.html
  167.  
  168. We've tried to minimize the overlap with the FAQ postings to the
  169. comp.lang.lisp, comp.lang.clos and comp.ai newsgroups, so if you don't
  170. find what you're looking for here, we suggest you try the FAQs for
  171. those newsgroups. These FAQs should be available by anonymous ftp from
  172.    rtfm.mit.edu:/pub/usenet/news.answers/ [18.181.0.24]
  173. in the lisp-faq/, ai-faq/ and scheme-faq/ subdirectories or by email.
  174. For instructions on email retrieval, send a mail message to
  175. mail-server@rtfm.mit.edu with "help" and "index" on separate lines in
  176. the body of the message.
  177.  
  178. If you need to cite the FAQ for some reason, use the following format:
  179.    Mark Kantrowitz and Barry Margolin, "Answers to Frequently Asked
  180.    Questions about Scheme", comp.lang.scheme, <month>, <year>,
  181.    ftp.cs.cmu.edu:/user/ai/pubs/faqs/scheme/scheme_?.faq, 
  182.    ai+lisp-faq@cs.cmu.edu.
  183.  
  184. ----------------------------------------------------------------
  185. Subject: [1-0] What is the purpose of this newsgroup?
  186.  
  187. The newsgroup comp.lang.scheme exists for general discussion of
  188. topics related to the programming language Scheme. For example, possible
  189. topics can include (but are not necessarily limited to):
  190.    announcements of Scheme books and products
  191.    discussion of programs and utilities written in Scheme
  192.    discussion of portability issues
  193.    questions about possible bugs in Scheme implementations
  194.    problems porting an implementation to some architecture
  195. Postings should be of general interest to the Scheme community. See also
  196. question [2-3].
  197.  
  198. The comp.lang.scheme newsgroup is archived in
  199.    ftp.cs.cmu.edu:/user/ai/pubs/news/comp.lang.scheme/
  200. on a weekly basis.
  201.  
  202. Questions about Common Lisp should be directed to the newsgroup
  203. comp.lang.lisp.  Discussion of object oriented programming in Lisp to
  204. the newsgroup comp.lang.clos. Discussion of functional programming
  205. language issues in general should be directed to the newsgroup
  206. comp.lang.functional.  Discussion of AI programs implemented in Scheme
  207. should sometimes be cross-posted to the newsgroup comp.ai.
  208.  
  209. ----------------------------------------------------------------
  210. Subject: [1-2] What is the difference between Scheme and Common Lisp?
  211.  
  212. Scheme is a dialect of Lisp that stresses conceptual elegance and
  213. simplicity. It is specified in R4RS and IEEE standard P1178. (See
  214. question [1-7] for details on standards for Scheme.) Scheme is much
  215. smaller than Common Lisp; the specification is about 50 pages,
  216. compared to Common Lisp's 1300 page draft standard. (See the Lisp FAQ
  217. for details on standards for Common Lisp.) Advocates of Scheme often
  218. find it amusing that the entire Scheme standard is shorter than the
  219. index to Guy Steele's "Common Lisp: the Language, 2nd Edition".
  220.  
  221. Scheme is often used in computer science curricula and programming
  222. language research, due to its ability to represent many programming
  223. abstractions with its simple primitives. Common Lisp is often used for
  224. real world programming because of its large library of utility
  225. functions, a standard object-oriented programming facility (CLOS), and
  226. a sophisticated condition handling system.
  227.  
  228. See question [1-8] for information about object-oriented programming
  229. in Scheme. 
  230.  
  231. In Common Lisp, a simple program would look something like the
  232. following:
  233.  
  234.    (defun fact (n)
  235.      (if (< n 2)
  236.          1
  237.          (* n (fact (1- n)))))
  238.  
  239. In Scheme, the equivalent program would like like this:
  240.  
  241.    (define fact
  242.      (lambda (n)
  243.        (if (< n 2)
  244.            1
  245.          (* n (fact (- n 1))))))
  246.  
  247. Experienced Lisp programmers might write this program as follows in order
  248. to allow it to run in constant space:
  249.  
  250.    (defun fact (n)
  251.      (labels ((tail-recursive-fact (counter accumulator)
  252.                 (if (> counter n)
  253.                     accumulator
  254.                     (tail-recursive-fact (1+ counter)
  255.                                          (* counter accumulator)))))
  256.        (tail-recursive-fact 1 1)))
  257.  
  258. Whereas in Scheme the same computation could be written as follows:
  259.  
  260.    (define fact
  261.      (lambda (n)
  262.        (letrec ((tail-recursive-fact
  263.                  (lambda (counter accumulator)
  264.                    (if (> counter n)
  265.                        accumulator
  266.                      (tail-recursive-fact (+ counter 1)
  267.                                           (* counter accumulator))))))
  268.                (tail-recursive-fact 1 1))))
  269.  
  270. or perhaps (using IEEE named LETs):
  271.  
  272.    (define fact
  273.      (lambda (n)
  274.        (let loop ((counter n)
  275.                   (accumulator 1))
  276.             (if (< counter 2)
  277.                 accumulator
  278.               (loop (- counter 1)
  279.                     (* accumulator counter))))))
  280.  
  281. Some Schemes allow one to use the syntax (define (fact n) ...) instead
  282. of (define fact (lambda (n) ...)).
  283.  
  284. ----------------------------------------------------------------
  285. Subject: [1-3] Scheme books, introductions, documentation, periodicals, 
  286.                journals, and conference proceedings.
  287.  
  288. Introductions to Scheme:
  289.  
  290.    The following four books from MIT Press are listed in order of
  291.    increasing difficulty. The first is good for the complete novice,
  292.    the second for students with little or no previous exposure to programming,
  293.    and the third and fourth for more advanced students. The third and
  294.    fourth may also be used to learn a variety of powerful programming
  295.    language concepts. One of these books will suit your needs.
  296.  
  297.    1. Daniel P. Friedman and M. Felleisen.
  298.       "The Little LISPer"
  299.       MIT Press (Cambridge, MA), 3rd printing, 1989. ISBN 0-262-56038-0.
  300.       Science Research Associates (Chicago), 3rd ed, 1989. 206 pages.
  301.  
  302.       Good for a quick introduction. Uses Scheme instead of Common Lisp.
  303.       (The book uses a dialect of Scheme with footnotes about translating to
  304.       Scheme or Common Lisp. The footnotes won't allow a non-expert to use
  305.       Common Lisp for the advanced chapters because of the complexity.)
  306.  
  307.    2. Brian Harvey and Matthew Wright
  308.       "Simply Scheme: Introducing Computer Science"
  309.       MIT Press, Cambridge, MA, 1994. 583 pages. 
  310.       ISBN 0-262-08226-8. $49.95.
  311.  
  312.       This book is ideal for students with little or no previous exposure to
  313.       programming. The book is designed to be used before SICP (the authors
  314.       call it a SICP "prequel"), and makes Scheme fun by sheltering the
  315.       students from potentially confusing technical details. Unlike Pascal
  316.       or C, the emphasis is on ideas, not obscure matters of syntax and
  317.       arbitrary rules of style.  High schools who have shied away from using
  318.       Scheme because they found SICP to be too challenging should consider
  319.       using this book instead.
  320.  
  321.       The text gradually and gently introduces students to some of the key
  322.       concepts of programming in Scheme. It starts off with functions and
  323.       function composition and continues with the notion of functions as
  324.       data (first-class functions) and programs that write programs
  325.       (higher-order functions).  Since the complexity of the language is
  326.       hidden, students can get involved in some of the more interesting and
  327.       fun aspects of the language earlier than in other texts.  Then the
  328.       book progresses through the more complicated concepts of lambda,
  329.       recursion, data abstraction and procedural abstraction, and concludes
  330.       with sequential techniques, but with careful attention to topics
  331.       students often find difficult.  There are five chapters on recursion
  332.       alone! There's also a pitfalls section at the end of most chapters to
  333.       help students recognize and avoid common errors.
  334.  
  335.       The book uses several programs as examples, including a tic-tac-toe
  336.       program, a pattern matcher, a miniature spreadsheet, and a simple
  337.       database program.  Source code for the programs is available by
  338.       anonymous ftp from anarres.cs.berkeley.edu:/pub/scheme/, or for $10 on
  339.       IBM or Macintosh diskettes from the publisher.
  340.  
  341.    3. Harold Abelson and Gerald Jay Sussman, with Julie Sussman.
  342.       "Structure and Interpretation of Computer Programs"
  343.       MIT Press (Cambridge, MA) and McGraw-Hill (New York), 1985.
  344.       542 pages. ISBN 0-262-01077-1, $55. The teacher's manual, which is
  345.       also available from MIT Press (ISBN 0-262-51046-4 $20), does NOT
  346.       contain solutions to the exercises, but does contain hints on
  347.       teaching with the book. 
  348.  
  349.       Starts off introductory, but rapidly gets into powerful
  350.       Lisp-particular constructs, such as using closures,
  351.       building interpreters, compilers and object-oriented systems.  Often
  352.       referred to by its acronym, SICP, which is pronounced "Sick-Pee". This
  353.       is the classical text for teaching program design using Scheme,
  354.       and everybody should read it at least once. MIT problem sets are
  355.       available from the repositories, and materials from Gustavus
  356.       Adolphus College are available from ftp.gac.edu:/pub/SICP/. 
  357.  
  358.    4. George Springer and Daniel P. Friedman
  359.       "Scheme and the Art of Programming" 
  360.       MIT Press and McGraw Hill, 1990, 596 pages.
  361.       ISBN 0-262-19288-8, $50.
  362.  
  363.       Introduces basic concepts of programming in Scheme. Also deals with
  364.       object oriented programming, co-routining, continuations.  Gives
  365.       numerous examples. Has more of an emphasis on teaching Scheme than
  366.       SICP, and can be seen as an alternative to SICP.  Source code from the
  367.       chapters is available from 
  368.           ftp.cs.indiana.edu:/pub/scheme-repository/doc/lit/sap/
  369.  
  370.    5. Iain Ferguson, Edward Martin and Burt Kaufman.  
  371.       Foreword by Daniel Friedman.
  372.       "The Schemer's Guide: Second Edition"
  373.       Schemers Inc., Ft. Lauderdale, FL, 1995. (see EdScheme entry in [2-2])
  374.       330 pages, ISBN 0-9628745-2-3, $35.95.
  375.  
  376.       This book assumes no previous programming experience and is ideal 
  377.       for high school or college students.  The book presents
  378.       the elements of modern computer programming in an easy-to-follow and
  379.       entertaining manner.  It gently introduces students to the Scheme
  380.       programming language, guiding them through such concepts as
  381.       functional programming, recursion, data structures, higher order
  382.       functions, delayed evaluation, and object-oriented programming.  The
  383.       text concludes with a significant game-playing project
  384.       involving artificial intelligence. The book strikes a good balance
  385.       between theory and practice, while nurturing good programming
  386.       practices.  The Schemer's Guide has a proven track record of several
  387.       years use in teaching the art of Scheme programming to high school
  388.       students and college undergraduates. A comprehensive teacher's guide
  389.       and an additional set of resource materials including worksheets,
  390.       quizzes, projects, and exams are available to instructors using this
  391.       text. (A Spanish translation will be available by August 1995.)
  392.  
  393. Older Introductions to Scheme:
  394.  
  395.    1. Smith, Jerry D.
  396.       "Introduction to Scheme"
  397.        Prentice Hall (Englewood Cliffs, NJ), 1988, 324 pages.
  398.            Focuses on PC Scheme.
  399.  
  400.    2. Michael Eisenberg 
  401.       "Programming in Scheme"
  402.       Scientific Press (Redwood City, CA), 1988. 304 pages.
  403.  
  404.    3. Two articles in BYTE Magazine, February 1988, by Abelson and
  405.       Sussman, and Clinger.
  406.  
  407. Online Introductions to Scheme:
  408.  
  409.    1. The Ken Dickey article, "The Scheme Programming Language", in
  410.       COMPUTER LANGUAGES magazine, June 1992, is available from the
  411.       Scheme Repository at 
  412.           ftp.cs.indiana.edu:/pub/scheme-repository/doc/pubs/intro.txt
  413.       The Revised^4 Report on the Algorithmic Language Scheme is also 
  414.       available from the Scheme Repository.
  415.  
  416.    2. The Info files from the MIT Scheme implementation.
  417.       ftp.cs.indiana.edu:/pub/scheme-repository/imp/MIT-Scheme-7.3/doc
  418.  
  419.    3. "Introductory Scheme" by Joseph W. Lavinus and James D. Arthur,
  420.        <lavinus@virginia.edu>. Available from the Lisp Utilities
  421.        Repository as ftp.cs.cmu.edu:/user/ai/lang/scheme/doc/intro/ 
  422.        as scmintro.tgz.
  423.  
  424. Scheme and Artificial Intelligence:
  425.  
  426.    1. Wolfgang Kreutzer and Bruce McKenzie
  427.       "Programming for Artificial Intelligence: 
  428.        Methods, Tools and Applications"
  429.       Addison-Wesley (Reading, MA), 1990. 682 pages. 
  430.       ISBN 0-201-41621-2.
  431.            Discusses Scheme, Prolog, and Smalltalk, gives an overview of
  432.            the history and philosophy of AI, surveys three major
  433.            programming paradigms (procedural, declarative, and
  434.            object-oriented), and metaphors to AI programming.
  435.            Source code from the chapters is available from 
  436.               ftp.cs.indiana.edu:/pub/scheme-repository/lit/
  437.            as aibook.tar.Z. Some of the programs will only run under MacScheme.
  438.  
  439. Scheme-based Computer Science Texts:
  440.  
  441.    1. Vincent Manis and James Little
  442.       "The Schematics of Computation"
  443.       Prentice-Hall, Inc., 1995. 848 pages
  444.       ISBN 0-13-834284-9 (North America), $41
  445.       ISBN 0-13-433772-7 (International).
  446.  
  447.       For a copy of the publication announcement, see 
  448.          ftp.cs.cmu.edu:/user/ai/pubs/books/announce/manis95
  449.  
  450. General Scheme reference books include:
  451.  
  452.    1. K. Dybvig
  453.       "The Scheme programming language"
  454.       Prentice Hall, 1987.
  455.          Good reference for Scheme.
  456.  
  457. Scheme-related periodicals include:
  458.         
  459.    1. LISP Pointers.
  460.       Published by ACM SIGPLAN six times a year. Volume 1, Number 1
  461.       was April-May 1987. 
  462.       Subscriptions: ACM Members $12; ACM Student Members $7; Non-ACM
  463.       members $25. Mail checks payable to the ACM to ACM Inc., PO Box
  464.       12115, Church Street Station, New York, NY 10249.
  465.  
  466.    2. LISP and Symbolic Computation, Kluwer Academic Press. Volume 1
  467.       was published in 1989. (jlz@lucid.com is the editor).  ISSN 0892-4635.
  468.       Subscriptions: Institutions $169; Individuals $80. Add $8 for
  469.       air mail. Kluwer Academic Publishers, PO Box 322, 3300 AH Dordrecht, 
  470.       The Netherlands, or Kluwer Academic Publishers, PO Box 358, Accord
  471.       Station, Hingham, MA 02018-0358. 
  472.  
  473.    3. Proceedings of the biannual ACM Lisp and Functional Programming
  474.       Conference. (First one was in 1980.)
  475.  
  476.    4. Proceedings of the annual Lisp Users and Vendors Conference.
  477.  
  478. See also the Scheme Bibliography from the Scheme Repository
  479. (ftp.cs.indiana.edu:/pub/scheme-repository/) for additional readings.
  480. A large number of technical reports on Scheme are now available in the
  481. text section (ftp.cs.indiana.edu:/pub/scheme-repository/txt/).
  482.  
  483. ----------------------------------------------------------------
  484. Subject: [1-4] Where can I learn about implementing Scheme interpreters  
  485.                and compilers?
  486.  
  487. There is no single book that is really comprehensive, so you will have
  488. to combine reading the sources to the various free implementations
  489. (e.g., Gambit [Feeley] and S48 [Rees]) with bits and pieces of tech
  490. reports and various books.
  491.  
  492. Books about Scheme implementation include:
  493.  
  494.    1. John Allen
  495.       "Anatomy of Lisp"
  496.       McGraw-Hill, 1978. 446 pages. ISBN 0-07-001115-X
  497.  
  498.    2. Samuel Kamin
  499.       "Programming Languages, An Interpreter-Based Approach"
  500.       Addison-Wesley, Reading, Mass., 1990. ISBN 0-201-06824-9
  501.            Includes sources to several interpreters for Lisp-like
  502.            languages, and a pointer to sources via anonymous ftp.
  503.  
  504.    3. Sharam Hekmatpour
  505.       "Lisp: A Portable Implementation"
  506.       Prentice Hall, 1985. ISBN 0-13-537490-X.
  507.            Describes a portable implementation of a small dynamic
  508.            Lisp interpreter (including C source code). 
  509.  
  510.    4. Peter Henderson
  511.       "Functional Programming: Application and Implementation"
  512.       Prentice-Hall (Englewood Cliffs, NJ), 1980. 355 pages.
  513.  
  514.    5. Peter M. Kogge
  515.       "The Architecture of Symbolic Computers"
  516.       McGraw-Hill, 1991. ISBN 0-07-035596-7.
  517.            Includes sections on memory management, the SECD and
  518.            Warren Abstract Machines, and overviews of the various
  519.            Lisp Machine architectures.
  520.    
  521.    6. Daniel P. Friedman, Mitchell Wand, and Christopher T. Haynes
  522.       "Essentials of Programming Languages"
  523.       MIT Press, 1992, 536 pages. ISBN 0-262-06145-7, $55.
  524.            Teaches fundamental concepts of programming language
  525.            design by using small interpreters as examples. Covers
  526.            most of the features of Scheme. Includes a discussion
  527.            of parameter passing techniques, object oriented languages,
  528.            and techniques for transforming interpreters to allow
  529.            their implementation in terms of any low-level language.
  530.            Also discusses scanners, parsers, and the derivation of
  531.            a compiler and virtual machine from an interpreter.
  532.            Source files available by anonymous ftp from 
  533.               ftp.cs.indiana.edu:/pub/eopl/ (129.79.254.191) or from the
  534.            Scheme Repository in 
  535.               ftp.cs.indiana.edu:/pub/scheme-repository/doc/lit/eopl
  536.  
  537.    7. Peter Lee, editor, "Topics in Advanced Language Implementation",
  538.       The MIT Press, Cambridge, Mass., 1991.
  539.            Articles relevant to the implementation of functional
  540.            programming languages.
  541.  
  542.    8. Also see the proceedings of the biannual ACM Lisp and Functional
  543.       Programming conferences, the implementation notes for CMU Common Lisp,
  544.       Peter Norvig's book ("Paradigms of AI Programming: Case Studies
  545.       in Common Lisp", Morgan Kaufmann, 1992. 946 pages. ISBN
  546.       1-55860-191-0), and SICP (Abelson & Sussman). 
  547.  
  548.    9. Christian Queinnec
  549.       "Les Langages Lisp"
  550.       InterEditions (in French), 1994. 500 pages.
  551.       ISBN 2-7296-0549-5, 61-2448-1. (?)
  552.  
  553.       The book covers Lisp, Scheme and other related dialects,
  554.       their interpretation, semantics and compilation.
  555.  
  556.       All of the programs described in the book are available by
  557.       anonymous ftp from
  558.          ftp.inria.fr:/INRIA/Projects/icsla/Books/LiSP94Sep05.tar.gz
  559.       For more information, see the book's URL
  560.          file://ftp.inria.fr/INRIA/Projects/icsla/WWW/LiSP.html
  561.       or contact the author at Christian.Queinnec@inria.fr
  562.  
  563. Technical reports and journal articles about Scheme implementation include:
  564.  
  565.    Mitchell Wand and Daniel P. Friedman, "Compiling Lambda Expressions
  566.    Using Continuations and Factorizations", Journal of Computer Languages
  567.    3(1978), 241-263.
  568.  
  569.    Guy Lewis Steele Jr., "Rabbit: A Compiler for Scheme", MIT AI Memo
  570.    474, Massachusetts Institute of Technology, Cambridge, MA, May 1978.
  571.  
  572.    Guy Lewis Steele Jr., "Compiler Optimization Based on Viewing LAMBDA
  573.    as RENAME + GOTO", in "Artificial Intelligence: An MIT Perspective",
  574.    Patrick Henry Winston and Richard Henry Brown (eds.), MIT Press,
  575.    Cambridge, MA, 1980.
  576.  
  577.    Jonathan A. Rees and Norman I. Adams, "T: A Dialect of Lisp or,
  578.    LAMBDA: The Ultimate Software Tool", Conference Record of the 1982 ACM
  579.    Symposium on Lisp and Functional Programming, 1982, 114-122.
  580.  
  581.    R. Kent Dybvig, "C-Scheme", Computer Science Department Technical
  582.    Report #149 (MS Thesis), Indiana University, Bloomington, IA, 1983.
  583.  
  584.    William Clinger, "The Scheme 311 compiler: An Exercise in Denotational
  585.    Semantics", Conference Record of the 1984 ACM Symposium on Lisp and
  586.    Functional Programming, 1984, 356-364.
  587.  
  588.    Guillermo J. Rozas, "Liar, an Algol-like Compiler for Scheme", S.B.
  589.    Thesis, Department of Electrical Engineering and Computer Science,
  590.    Massachusetts Institute of Technology, January 1984.
  591.  
  592.    David H. Bartley and John C. Jensen, "The Implementation of PC
  593.    Scheme", Proceedings of the 1986 ACM Conference on Lisp and Functional
  594.    Programming, 1986, 86-93.
  595.  
  596.    David Kranz, Richard Kelsey, Jonathan A. Rees, Paul Hudak, James
  597.    Philbin and Norman I. Adams, "Orbit: An Optimizing Compiler for
  598.    Scheme", Proceedings of the SIGPLAN Notices '86 Symposium on Compiler
  599.    Construction, June 1986, 219-233.  Published as SIGPLAN Notices 21(7),
  600.    July 1986.
  601.  
  602.    Marc Feeley, "Deux Approches a' L'implantation du Language Scheme",
  603.    M.Sc. Thesis, De'partement d'Informatique et de Recherche
  604.    Ope'rationelle, University of Montreal, May 1986.
  605.  
  606.    R. Kent Dybvig, "Three Implementation Models for Scheme", Department
  607.    of Computer Science Technical Report #87-011 (Ph.D. Dissertation),
  608.    University of North Carolina at Chapel Hill, Chapel Hill, North
  609.    Carolina, April 1987.
  610.  
  611.    William D. Clinger, Anne H. Hartheimer and Eric M. Ost,
  612.    "Implementation Strategies for Continuations", Conference Record of
  613.    the 1988 ACM Conference on Lisp and Functional Programming, August
  614.    1988, 124-131.
  615.  
  616.    David Kranz, "Orbit: An Optimizing Compiler for Scheme", Computer
  617.    Science Technical report #632 (Ph.D. Dissertation), Yale University,
  618.    1988.
  619.  
  620.    Joel F. Bartlett, "SCHEME->C a Portable Scheme-to-C Compiler",
  621.    Research Report 89/1, Dec. Western Research Laboratory, Palo Alto, CA,
  622.    January 1989.
  623.  
  624.    Marc Feeley and James S. Miller, "A Parallel Virtual Machine for
  625.    Efficient Scheme Compilation", Proceedings of the 1990 ACM Conference
  626.    on Lisp and Functional Programming, Nice, France, June 1990.
  627.  
  628.    Chris Hanson, "Efficient Stack Allocation for Tail-Recursive
  629.    Languages", Proceedings of the 1990 ACM Conference on Lisp and
  630.    Functional Programming, Nice, France, June 1990.
  631.  
  632.    Robert Hieb, R. Kent Dybvig and Carl Bruggeman, "Representing Control
  633.    in the Presence of First-Class Continuations", Proceedings of the
  634.    SIGPLAN Notices '90 Conference on Programming Language Design and
  635.    Implementation, White Plains, New York, June 1990, 66-77.
  636.  
  637.    Guillermo Rozas, "Taming the Y Operator", Proceedings of the 1992 ACM
  638.    Conference on Lisp and Functional Programming, San Francisco, CA,
  639.    June 1992, 226-234.
  640.  
  641.    Dan Teodosiu, "HARE: An Optimizing Portable Compiler for Scheme", ACM
  642.    Sigplan Notices 26(1), January 1991.
  643.  
  644. ----------------------------------------------------------------
  645. Subject: [1-7] Standards for Scheme -- What are R4RS and IEEE P1178?
  646.  
  647. R4RS is the Revised^4 Report on the Algorithmic Language Scheme,
  648. edited by W. Clinger and J. Rees. It appeared in ACM Lisp Pointers IV,
  649. July-September 1991, and also as MIT AI Memo 848b. It serves as a kind
  650. of standard for the language. It can be obtained by anonymous ftp at
  651. the two Scheme Repositories, swiss-ftp.ai.mit.edu and ftp.cs.indiana.edu.
  652. A HTML version is available as
  653.    ftp://swiss-ftp.ai.mit.edu/pub/scm/HTML/r4rs_toc.html
  654. or
  655.    http://www.maths.tcd.ie/scrg/scheme/index.html
  656.  
  657. IEEE P1178 is IEEE Standard 1178-1990, "IEEE Standard for the Scheme
  658. Programming Language", published by IEEE in 1991. ISBN 1-55937-125-0.
  659. It is now also an ANSI standard. It may be ordered from IEEE by
  660. calling 1-800-678-IEEE or 908-981-1393 or writing IEEE Service
  661. Center, 445 Hoes Lane, P.O. Box 1331, Piscataway, NJ 08855-1331, 
  662. and using order number SH14209 ($28 for IEEE members, $40 others).
  663.  
  664. ----------------------------------------------------------------
  665. Subject: [1-8] How do I do object-oriented programming in Scheme?
  666.  
  667. Some Scheme implementations (for example, MacScheme, Feel, Oaklisp, XScheme,
  668. and PC-Scheme) include built-in object-oriented extensions.  
  669.  
  670. BOS (Bryan's Object System) is a very small object system for Scheme.
  671. It is based around generic functions and multiple inheritance.  BOS
  672. provides more or less the same features as Meroon and the Tiny CLOS
  673. base language. Even though it has not been optimised, it should be
  674. quite a bit faster than those because it does not include a MOP.
  675. BOS has been tested under Scheme 48 and SCM, and should run under any
  676. fairly modern Scheme implementation (especially any which runs SLIB)
  677. with little or no change.  It is available by anonymous ftp from
  678.    ftp.maths.tcd.ie:/pub/bosullvn/misc/bos.tar.gz
  679. and the CMU AI Repository in
  680.    ftp.cs.cmu.edu:/user/ai/lang/scheme/oop/bos/
  681. For more information, write to Bryan O'Sullivan <bosullvn@maths.tcd.ie>.
  682.  
  683. MEROON is a package written in Scheme to provide the basic facilities
  684. of an object-oriented programming style through three macros:
  685. define-class, define-generic, and define-method. MEROON offers simple
  686. inheritance, reflective metaclasses and simple dispatching generic
  687. functions with support for multimethods. MEROON also offers indexed
  688. fields subsuming Scheme vectors without inheritance restrictions.
  689. Meroon runs in Scheme->C, PC-Scheme, Chez Scheme, Elk, Bigloo, SCM
  690. with SLIB, and MacGambit. MEROON sources and documentation may be
  691. found in the Scheme Repository as
  692.    ftp.cs.indiana.edu:/pub/scheme-repository/new/meroon.*.tar.Z
  693. and also from
  694.    ftp.inria.fr:/pub/INRIA/icsla/Programs/MeroonV3*.tar.gz [128.93.1.26]
  695. The file meroonet*.tar.gz is a toy version of meroon. For more
  696. information, contact Christian Queinnec <queinnec@polytechnnique.fr>
  697. or <Christian.Queinnec@inria.fr>.
  698.  
  699. SCOOPS (Scheme Object Oriented Programming System) is an object system
  700. for Scheme written by Amitabh Srivastava/Texas Instruments with 
  701. re-writes by Steve Sherin <sherin@linc.cis.upenn.edu>. [Email to this
  702. address bounced 7/7/93.] This package needs first-class environments.
  703. It is available from the Scheme Repository as
  704. /pub/scheme-repository/scm/scoops.sha. 
  705.  
  706. Tiny CLOS is a Scheme implementation of a `kernelized' CLOS, with a
  707. metaobject protocol. The implementation is even simpler than the
  708. simple CLOS found in `The Art of the Metaobject Protocol,' weighing in
  709. at around 850 lines of code, including (some) comments and
  710. documentation. Tiny CLOS is available by anonymous ftp from
  711. parcftp.xerox.com:/pub/mops/. Tiny CLOS runs in MIT Scheme 11.74 and
  712. should run with only minor modifications in other Schemes as well. If
  713. you want to be added to the mops@parc.xerox.com mailing list
  714. (technical questions and discussion only), send mail to Gregor Kiczales
  715. <gregor@parc.xerox.com>.
  716.  
  717. YASOS (Yet Another Scheme Object System) is fairly functional in style
  718. and uses delegation.  The implementation includes multiple inheritance
  719. and "send to super" and is much smaller than class-based OO systems.
  720. See Ken Dickey, "Scheming with Objects", AI Expert 7(10):24-33,
  721. October 1992. A copy of the article and YASOS code is available from
  722. the Scheme Repository in pub/scheme-repository/txt/swob.txt. YASOS is also
  723. included as part of SLIB. For further information, contact Ken Dickey
  724. <kend@newton.apple.com>.
  725.  
  726. ----------------------------------------------------------------
  727. Subject: [1-9] Repositories of Scheme Software
  728.  
  729. There are several repositories of publicly redistributable and
  730. public domain Scheme code. 
  731.  
  732. CMU AI Repository, Scheme Section:
  733.  
  734.    The Scheme Section of the CMU Artificial Intelligence Repository
  735.    is accessible by anonymous ftp to
  736.       ftp.cs.cmu.edu:/user/ai/lang/scheme/ [128.2.206.173]
  737.    through the AFS directory
  738.       /afs/cs.cmu.edu/project/ai-repository/ai/lang/scheme/
  739.    or by WWW from the URL   
  740.       http://www.cs.cmu.edu/Web/Groups/AI/html/repository.html
  741.    and includes more than 200 megabytes of sources and other materials
  742.    of interest to Scheme programmers, including all freely
  743.    distributable implementations and many programs.  Unlike the Scheme
  744.    Repository at Indiana University, the entire contents of the CMU AI
  745.    Repository has been keyword indexed to provide convenient browsing
  746.    of the contents.
  747.  
  748.    The repository has standardized on using 'tar' for producing
  749.    archives of files and 'gzip' for compression.
  750.  
  751.    To search the keyword index by mail, send a message to:
  752.       ai+query@cs.cmu.edu
  753.    with one or more lines containing calls to the keys command, such as:
  754.       keys scheme awk
  755.    in the message body.  Keywords may be regular expressions and are
  756.    compared with the index in a case-insensitive conjunctive fashion.  
  757.    You'll get a response by return mail. Do not include anything else in 
  758.    the Subject line of the message or in the message body.  For help on
  759.    the query mail server, include: 
  760.       help
  761.    instead. 
  762.  
  763.    A Mosaic interface to the keyword searching program is in the
  764.    works.  We also plan to make the source code (including indexes) to
  765.    this program available, as soon as it is stable.
  766.  
  767.    Most of the Scheme Section of the AI Repository appears on Prime Time 
  768.    Freeware for AI, Issue 1-1, a mixed-media book/CD-ROM publication. It
  769.    includes two ISO-9660 CD-ROMs bound into a 224 page book and sells
  770.    (list) for US$60 plus applicable sales tax and shipping and handling
  771.    charges. Payable through Visa, Mastercard, postal money orders in US
  772.    funds, and checks in US funds drawn on a US bank. For more
  773.    information write to Prime Time Freeware, 370 Altair Way, Suite 150,
  774.    Sunnyvale, CA  94086  USA, call 408-433-9662, 408-433-0727 (fax),
  775.    or send email to ptf@cfcl.com.
  776.  
  777.    Contributions of software and other materials are always welcome but
  778.    must be accompanied by an unambiguous copyright statement that grants
  779.    permission for free use, copying, and distribution -- either a
  780.    declaration by the author that the materials are in the public domain,
  781.    that the materials are subject to the GNU General Public License (cite
  782.    version), or that the materials are subject to copyright, but the
  783.    copyright holder grants permission for free use, copying, and
  784.    distribution. (We will tell you if the copying permissions are too
  785.    restrictive for us to include the materials in the repository.)
  786.    Inclusion of materials in the repository does not modify their
  787.    copyright status in any way. Materials may be placed in:
  788.       ftp.cs.cmu.edu:/user/ai/new/
  789.    When you put anything in this directory, please send mail to
  790.       ai+contrib@cs.cmu.edu
  791.    giving us permission to distribute the files, and state whether
  792.    this permission is just for the AI Repository, or also includes
  793.    publication on the CD-ROM version (Prime Time Freeware for AI).
  794.    We would also appreciate if you would include a 0.doc file for your
  795.    package; see /user/ai/new/package.doc for a template. (If you don't
  796.    have the time to write your own, we can write it for you based on
  797.    the information in your package.)
  798.  
  799.    The Scheme Section of the AI Repository is maintained by Mark Kantrowitz 
  800.    <AI.Repository@cs.cmu.edu>. 
  801.  
  802. Scheme Repository at Indiana University:
  803.  
  804.    The Scheme Repository at Indiana University contains a Scheme
  805.    bibliography, copies of the R4RS report and other papers, sample
  806.    Scheme code for a variety of purposes, several utilities, and some
  807.    implementations. The Scheme code includes code for calendar
  808.    calculations, Earley parser, FORMAT for Scheme, a scheme version of
  809.    the Gabriel benchmarks, Marc Feeley's minimal object support for
  810.    Scheme, a Scheme pretty-printer, a Prolog interpreter written in
  811.    Scheme, a random number generator in Scheme, an implementation of
  812.    SCOOPS, code from Abelson and Sussman's SICP book, Aubrey Jaffer's
  813.    IEEE/R4RS compliance test, an implementation of matrices, a Scheme
  814.    implementation of the Common Lisp FORMAT function, a Scheme front end
  815.    to Adobe Illustrator PostScript, and a LALR(1) parser (ZEBU).  The
  816.    repository was established by Ozan S. Yigit and is currently
  817.    maintained by David Eby and John Zuckerman. Send administrative
  818.    requests to
  819.       scheme-repository-request@cs.indiana.edu
  820.    The repository is accessible by anonymous ftp at 
  821.       ftp.cs.indiana.edu:/pub/scheme-repository/   [129.79.254.191]
  822.    or by WWW to
  823.       http://www.cs.indiana.edu/scheme-repository/home.html
  824.    The repository is mirrored in INRIA, courtesy of Christian Queinnec
  825.    [Ecole Polytechnique and INRIA-Rocquencourt], ftp.inria.fr:/lang/Scheme/
  826.    and also faui80.informatik.uni-erlangen.de:/pub/scheme/yorku
  827.  
  828. Other Scheme Collections:
  829.  
  830.    Scheme Implementations may also be found at swiss-ftp.ai.mit.edu:/archive/ 
  831.    The R4RS report is available in 
  832.       swiss-ftp.ai.mit.edu:/archive/scheme-reports/
  833.    or as MIT AI Memo 848b (email publications@ai.mit.edu for more information).
  834.    The swiss-ftp archive includes SCOOPS, CL2Scheme, extend-syntax,
  835.    btree, Gabriel benchmarks, FORMAT for Scheme, etc.
  836.  
  837.    The GI (German Computer Science Society) Scheme Archive contains a
  838.    variety of scheme programs, utilities, code from theses, and other
  839.    materials. It also mirrors the Scheme Repository.  It is
  840.    accessible by anonymous ftp to faui80.informatik.uni-erlangen.de
  841.    (login as 'ftp', giving your email address as the password).
  842.       pub/scheme/gi                # GI Scheme Archive
  843.       pub/scheme/yorku             # Internet Scheme Repository
  844.    Direct questions to scheme@faui80.informatik.uni-erlangen.de.
  845.    The GI Scheme Archive is supported by the German Computer Society Special
  846.    Interest Group on AI programming and sponsored by the Bavarian AI Center
  847.    FORWISS -- Research Institute for Knowledge Based Systems.
  848.  
  849. ----------------------------------------------------------------
  850. Subject: [1-10] Publicly Redistributable Scheme Software
  851.  
  852.    SLIB (Standard Scheme Library) is a portable scheme library that
  853.    provides compatibility and utility functions for many of the
  854.    standard scheme implementations, including Chez, ELK 2.1, GAMBIT,
  855.    MITScheme, scheme->C, Scheme48, T3.1, VSCM and Scm4e. It is available by
  856.    anonymous ftp from 
  857.        swiss-ftp.ai.mit.edu:/archive/scm/slib2a1.tar.gz
  858.        prep.ai.mit.edu:/pub/gnu/jacal/slib2a1.tar.gz
  859.        ftp.cs.indiana.edu:/pub/scheme-repository/new/slib2a1.tar.gz
  860.    Now includes a FAQ file.
  861.  
  862.    TEST.SCM is an IEEE and R4RS conformance test suite.  It is available
  863.    from 
  864.       swiss-ftp.ai.mit.edu:/archive/scm/test.scm
  865.       prep.ai.mit.edu:/pub/gnu/jacal/test.scm
  866.       ftp.cs.indiana.edu:/pub/scheme-repository/new/test.scm
  867.  
  868.    PSD (Portable Scheme Debugger) is available by anonymous ftp
  869.    from Tampere University of Technology, Finland,
  870.       ftp.cs.tut.fi:/pub/src/languages/schemes/psd-1.1.tar.Z
  871.    With PSD, you can run a Scheme program in an Emacs buffer, set
  872.    breakpoints, single step evaluation and access and modify the
  873.    program's variables. It works by instrumenting the original source
  874.    code, so it should run with any R4RS compliant Scheme. It has been
  875.    tested with SCM and Elk 1.5, but should work with other Schemes with a
  876.    minimal amount of porting, if at all. Includes documentation and
  877.    user's manual. Written by Pertti Kellom\"aki, pk@cs.tut.fi
  878.    The Lisp Pointers article describing PSD (Lisp Pointers VI(1):15-23,
  879.    January-March 1993) is available as 
  880.       http://www.cs.tut.fi/staff/pk/scheme/psd/article/article.html
  881.  
  882.    SCLINT is a lint-like program for Scheme. It checks for consistency of
  883.    indentation, syntax of special forms, and the number of arguments to
  884.    primitive and most user-defined procedures. This is not a full
  885.    implementation, but rather a quick hack. It is used in teaching
  886.    programming at the Tampere University of Technology. It is available
  887.    by anonymous ftp from 
  888.       ftp.cs.tut.fi:/pub/src/languages/schemes/sclint-0.9.tar.Z.
  889.    For further information, write to Pertti Kellom\"aki <pk@cs.tut.fi>.
  890.  
  891.    A bibliography of work in functional programming can be obtained by 
  892.    anonymous ftp from tamdhu.dcs.st-andrews.ac.uk:/pub/staple/pubs.txt
  893.    (138.251.192.40). It uses a refer-like format with %T for title, %A
  894.    for authors %I for a unique index entry %S for source (possibly a
  895.    reference to another index) %K for keywords and %C for comments.
  896.    Compiled by Tony Davie, <ajtd@honey.st-and.ac.uk>. [Email bounced, 7/7/93.]
  897.  
  898.    Scheme Utilities -- brokaw.lcs.mit.edu:/pub/scmutils.tar  18.30.0.33
  899.    [This collection seems to no longer be located on brokaw -- does
  900.    anybody know the current location?]
  901.  
  902.    A collection of Scheme implementations of data structures and
  903.    algorithms is available by anonymous ftp from 
  904.       ftp.cs.tut.fi:/pub/src/languages/schemes/
  905.    as the file scheme-algorithms.tar. For more information, contact
  906.    Pertti Kellom\"aki <pk@cs.tut.fi>. 
  907.  
  908.    6.001. The User's Manual, example code, and problem sets from MIT's
  909.    course "Structure and Interpretation of Computer Programs" are 
  910.    available by anonymous ftp from swiss-ftp.ai.mit.edu:/archive/6.001/
  911.    [18.23.0.16].
  912.  
  913.    Steele's Constraint System. Chris Hanson's implementation of Steele's
  914.    constraint system is available for anonymous ftp from
  915.       swiss-ftp.ai.mit.edu:/archive/cph/constraint.tar [18.23.0.16]
  916.       ftp.cs.indiana.edu:/pub/scheme-repository/new/constraint.tar.Z
  917.    A compressed version is also stored there. The software is source code
  918.    for MIT Scheme. It should run in release 7.1.3. Most of the MIT Scheme
  919.    dependencies could be eliminated, but it also uses the following
  920.    procedures which aren't in standard Scheme: error, bkpt, macros,
  921.    dynamic binding, and string output ports. The code corresponds pretty
  922.    closely to Guy Steele's PhD thesis implementation, which you can
  923.    obtain in printed form from the MIT AI Lab publications office as
  924.    AI-TR-595 for $15.00 (email publications@ai.mit.edu for more
  925.    information). For more information, send email to Chris Hanson
  926.    <cph@martigny.ai.mit.edu>.
  927.  
  928.    JACAL is a symbolic mathematics system for the simplification and
  929.    manipulation of equations and single and multiple valued algebraic
  930.    expressions constructed of numbers, variables, radicals, and algebraic
  931.    functions, differential, and holonomic functions. In addition, vectors
  932.    and matrices of the above objects are included.  JACAL is written in
  933.    Scheme and requires SLIB. JACAL source is available via anonymous FTP
  934.    from
  935.       swiss-ftp.ai.mit.edu:/archive/scm/jacal1a4.tar.Z,
  936.       prep.ai.mit.edu:/pub/gnu/jacal/jacal1a4.tar.Z, and
  937.       ftp.cs.indiana.edu:/pub/scheme-repository/new/jacal1a4.tar.Z
  938.    Contact jaffer@altdorf.ai.mit.edu for more information.
  939.   
  940.    Zebu 0.9 is an LALR(1) parser generator for Scheme written by 
  941.    William M. Wells III. It lives in the Scheme Repository 
  942.       ftp.cs.indiana.edu:/pub/scheme-repository/scm/
  943.    and works with PC-Scheme from TI and MIT C-Scheme 6.2 (but not with
  944.    anything after 7.0). 
  945.  
  946.    Thomas is a compiler for the Dylan programming language.  The Thomas
  947.    system is written in Scheme and runs under MIT's CScheme, DEC's
  948.    Scheme->C, and Marc Feeley's Gambit.  It can run on a wide range of
  949.    machines including the Macintosh, PC compatibles, Vax, MIPS, Alpha,
  950.    and 680x0.  Thomas generates IEEE compatible Scheme code.  Thomas is
  951.    available to the public by anonymous ftp at
  952.       crl.dec.com:/pub/DEC/Thomas
  953.       gatekeeper.pa.dec.com:/pub/DEC/Thomas
  954.       swiss-ftp.ai.mit.edu:/archive/Thomas
  955.    For more information on Thomas and Dylan, see part 4 of the Lisp FAQ.
  956.  
  957.    MATCH is a pattern matching macro package for Scheme.  Pattern
  958.    matching allows complicated control decisions based on data structure
  959.    to be expressed in a concise manner. This document describes several
  960.    pattern matching macros for Scheme, and an associated mechanism for
  961.    defining new forms of structured data. This macro package works with
  962.    any Scheme that supports defmacro (which is obtainable by loading
  963.    SLIB), such as Chez Scheme (release 4 or greater). MATCH is available
  964.    by anonymous ftp from titan.cs.rice.edu:/public/wright/match.tar.Z
  965.    [128.42.1.30] and includes the macro source code and documentation. A
  966.    copy should be available from the Scheme Repository shortly.  For
  967.    further information, write to Andrew Wright, <wright@cs.rice.edu>.
  968.  
  969.    Soft Scheme provides the benefits of static typing for dynamically
  970.    typed Scheme.  Like a static type checker, a soft type checker infers
  971.    types for variables and expressions.  But rather than reject programs
  972.    containing untypable fragments, a soft type checker inserts explicit
  973.    run-time checks to transform untypable programs to typable form.
  974.    These run-time checks indicate potential program errors, enabling
  975.    programmers to detect errors prior to program execution.  Soft type
  976.    checking minimizes the number of run-time checks in the compiled code,
  977.    enabling dynamically typed languages to attain the efficiency of
  978.    statically typed languages like ML. Soft Scheme is available by
  979.    anonymous ftp from
  980.       titan.cs.rice.edu:public/wright/softscheme.tar.Z [128.42.1.30]
  981.    For more information, write to Andrew Wright <wright@cs.rice.edu>.
  982.  
  983.    ChezSybase is a Chez Scheme interface to the Sybase database.
  984.    It uses the Chez Scheme foreign function interface to provide a
  985.    high-level Scheme interface to the Sybase db-lib (the API to the
  986.    Sybase database). Most of the db-lib calls and datatypes are
  987.    supported, with the possible exception of spotty support for text and
  988.    image data, and there is no analog to the datetime datatype. It is
  989.    available by anonymous ftp from
  990.       ftp.cs.cmu.edu:/user/ai/lang/scheme/code/io/chez_syb/
  991.    For more information, write to Karl O. Pinc <kop@acm.org>.
  992.  
  993. ----------------------------------------------------------------
  994. Subject: [1-11] Formatting code in LaTeX
  995.  
  996. SLaTeX is a R4RS-compliant Scheme program that allows you to write
  997. program code "as is" in your LaTeX or TeX source.  It is particularly
  998. geared to the programming languages Scheme and Common Lisp, and has
  999. been tested in Chez Scheme, Common Lisp, MIT C Scheme, Elk, Scheme->C,
  1000. SCM and UMB Scheme on Unix; and MIT C Scheme and SCM on MSDOS.  The
  1001. formatting of the code includes assigning appropriate fonts to the
  1002. various tokens in the code (keywords, variables, constants, data), at
  1003. the same time retaining the proper indentation when going to the
  1004. non-monospace (non-typewriter) provided by TeX.  SLaTeX comes with two
  1005. databases that recognize the standard keywords/variables/constants of
  1006. Scheme and Common Lisp respectively.  These can be modified by the
  1007. user using easy TeX commands.  In addition, the user can inform SLaTeX
  1008. to typeset arbitrary identifiers as specially suited TeX expressions
  1009. (i.e., beyond just fonting them).  The code-typesetting program SLaTeX
  1010. is available by anonymous ftp from 
  1011.    cs.rice.edu:/public/dorai/slatex23.tar.gz
  1012. Send bug reports to dorai@cs.rice.edu.
  1013.  
  1014. SchemeWEB provides simple support for literate programming in Lisp.
  1015. SchemeWEB version 2.0 is a Unix filter that allows you to generate
  1016. both Lisp and LaTeX code from one source file.  The generated LaTeX
  1017. code formats Lisp programs in typewriter font obeying the spacing in
  1018. the source file.  Comments can include arbitrary LaTeX commands.
  1019. SchemeWEB was originally developed for the Scheme dialect of Lisp, but
  1020. it can easily be used with most other dialects.  Version 2.0 is
  1021. available in the Scheme Repository as
  1022.    ftp.cs.indiana.edu:/pub/scheme-repository/new/schemeweb.sh
  1023. or in the Comprehensive TeX Archive Network (CTAN) in the directory
  1024.    ftp.shsu.edu:/tex-archive/web/schemeweb 
  1025.  
  1026. The Literate Programming FAQ lists a number of alternatives, both
  1027. language-independent and Scheme-specific. The Literate Programming FAQ
  1028. is posted once a quarter to the comp.programming.literate newsgroup
  1029. and is available by anonymous ftp from rtfm.mit.edu. A copy may also be
  1030. requested by sending an email message to fileserv@shsu.edu
  1031.    sendme litprog.faq
  1032. in the body of the message.
  1033.  
  1034. ----------------------------------------------------------------
  1035. Subject: [1-12] Where can I get an implementation of Prolog in Scheme?
  1036.  
  1037.    Prolog in Scheme is a collection of macros that expand syntax for
  1038.    clauses, elations, and so on. It is written in Scheme and has support
  1039.    for delayed goals and interval arithmetic. It is known to run in Chez
  1040.    Scheme and in Elk, and is intended to be portable to other Scheme
  1041.    implementations. It relies on continuations, and so is not easily
  1042.    ported to Common Lisp. Available from the University of Calgary by
  1043.    anonymous ftp from
  1044.       ftp.cpsc.ucalgary.ca:/pub/projects/prolog1.2/prolog12.tar.Z
  1045.    Questions and comments may be addressed to Alan Dewar
  1046.    <dewar@cpsc.ucalgary.ca> or John Cleary <jcleary@waikato.ac.nz>.
  1047.  
  1048.    Schelog is an embedding of Prolog in Scheme. It represents Prolog
  1049.    goals as procedures in Scheme, and includes macros to simulate a
  1050.    Prolog-style syntax for clauses, relations and queries.  The embedding
  1051.    permits the user to combine Prolog and Scheme code freely, in the same
  1052.    s-expression, if desired.  Documentation and examples are included.
  1053.    Schelog should run in any R4RS Scheme, has been tested in SCM and Chez
  1054.    Scheme, and will run in any Scheme implementation that supports SLIB (see
  1055.    entry in [1-10] above).  Schelog (version 2) is available by anonymous
  1056.    ftp from titan.cs.rice.edu:/public/dorai/schelog2.tar.Z.  Its use of
  1057.    higher-order continuations is probably a major obstacle to porting it
  1058.    to Common Lisp.  For more information, please contact the author Dorai
  1059.    Sitaram <dorai@cs.rice.edu>.
  1060.  
  1061. ----------------------------------------------------------------
  1062. Subject: [1-13]  What does SICP, SCOOPS, R4RS, CAR, CDR, ... mean?
  1063.  
  1064. Glossary of acronyms:
  1065.    CAR             Originally meant "Contents of Address portion of Register",
  1066.                    which is what CAR actually did on the IBM 704.
  1067.    CDR             Originally meant "Contents of Decrement portion of 
  1068.                    Register", which is what CDR actually did
  1069.                    on the IBM 704. Pronounced "Cudder".
  1070.    ANSI            American National Standards Institute
  1071.    SICP            Abelson and Sussman's book "Structure and
  1072.                    Interpretation of Computer Programs".
  1073.    EOPL            Essentials of Programming Languages 
  1074.    SCOOPS          An experimental object-oriented programming
  1075.                    language for Scheme.
  1076.    R3RS            Revised^3 Report on the Algorithmic Language Scheme.
  1077.    R4RS            Revised^4 Report on the Algorithmic Language Scheme.
  1078.  
  1079. ----------------------------------------------------------------
  1080. Subject: [1-14] Why is there no EVAL in Scheme?
  1081.  
  1082. The answer to this question is based on information provided by 
  1083. Guillermo J. Rozas and Aubrey Jaffer.
  1084.  
  1085. There are three major positions in the Scheme community regarding EVAL:
  1086.  
  1087.    1. No EVAL: EVAL is antithetical to a Pascal-like (compiler based,
  1088.       externally statically linked) implementation for Scheme, such as
  1089.       some people have or wish to see. 
  1090.  
  1091.    2. Single Argument: There is a single distinguished top-level
  1092.       environment, and EVAL always evaluates its argument there. 
  1093.       (This is the approach taken in Common Lisp, where EVAL evaluates
  1094.       its argument in the current dynamic environment and in a null
  1095.       lexical environment.) 
  1096.  
  1097.    3. Two Arguments: There are multiple environments in which
  1098.       the user might want to evaluate expressions, so EVAL should take
  1099.       two arguments, the second being an environment.  In particular,
  1100.       in some systems with first-class environments, there is no
  1101.       a-priori single distinguished top-level environment, and
  1102.       defaulting the environment does not fit those dialects well.
  1103.  
  1104. Not every dialect of Scheme has EVAL. Most do, but some with different
  1105. names and arguments. Jaffer's SLIB package uses LOAD as defined in
  1106. R4RS to define EVAL for those implementations that don't support EVAL
  1107. (e.g., by writing the code out to a file and then loading it).
  1108. Rozas's compromise proposal for EVAL was accepted for R5RS, but it is
  1109. unclear whether there will ever be a R5RS.
  1110.  
  1111. ----------------------------------------------------------------
  1112. Subject: [1-15] World-Wide Web (WWW) Resources
  1113.  
  1114. The World Wide Web (WWW) is a hypermedia document that spans the
  1115. Internet.  It uses the http (HyperText Transfer Protocol) for the
  1116. light-weight exchange of files over the Internet.  NCSA Mosaic is a
  1117. World Wide Web browser developed at the National Center for
  1118. Supercomputing Applications (NCSA). 
  1119.  
  1120. Mosaic's popularity derives, in part, from its ability to communicate
  1121. using more traditional Internet protocols like FTP, Gopher, WAIS, and
  1122. NNTP, in addition to http. Mosaic can display text, hypertext links,
  1123. and inlined graphics directly. When Mosaic encounters a file type it
  1124. can't handle internally, such as Postscript documents, mpeg movies,
  1125. sound files, and JPEG images, it uses an external viewer (or player)
  1126. like Ghostscript to handle the file. Mosaic also includes facilities
  1127. for exploring the Internet. In other words, Mosaic is an multimedia
  1128. interface to the Internet.
  1129.  
  1130. The hypertext documents viewed with Mosaic are written in HTML
  1131. (HyperText Markup Language), which is a subset of SGML (Standard
  1132. Generalized Markup Language).  All that is needed is just a few more
  1133. improvements, such as the ability to format tables and mathematics,
  1134. and a WYSIWYG editor, for HTML to greatly facilitate electronic
  1135. journals and other publications.
  1136.  
  1137. NCSA Mosaic for the X Window System is available by anonymous ftp from  
  1138.    ftp.ncsa.uiuc.edu:/Mosaic/
  1139. as source code and binaries for Sun, SGI, IBM RS/6000, DEC Alpha OSF/1, DEC
  1140. Ultrix, and HP-UX. Questions about NCSA Mosaic should be directed to 
  1141. mosaic-x@ncsa.uiuc.edu (X-Windows version), mosaic-mac@ncsa.uiuc.edu
  1142. (Macintosh), and mosaic-win@ncsa.uiuc.edu (Microsoft Windows).
  1143.  
  1144. A simple HTML version of the Scheme FAQ (this FAQ) is available as
  1145.    http://www.cs.cmu.edu/Web/Groups/AI/html/faqs/lang/scheme/top.html
  1146.  
  1147. The Scheme home page at MIT is
  1148.     http://www-swiss.ai.mit.edu/scheme-home.html
  1149. It includes a nifty little form that lets you execute small examples
  1150. of Scheme code.
  1151.  
  1152. The Scheme Underground web page is
  1153.     http://www.ai.mit.edu/projects/su/su.html
  1154.  
  1155. ----------------------------------------------------------------
  1156. Subject: [1-16] Why is Scheme called 'Scheme'?
  1157.  
  1158. According to Steele and Gabriel's "The Evolution of Lisp" paper,
  1159. Scheme was originally called Schemer, in the tradition of the AI
  1160. languages Planner and Conniver. But the ITS operating system had a
  1161. 6-character limitation of file names, so the names were shortened to
  1162. PLNR, CNVR, and SCHEME. Eventually the truncated name Scheme stuck.
  1163.  
  1164. ----------------------------------------------------------------
  1165. ;;; *EOF*
  1166.  
  1167.