home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Information / Languages / Scheme / scheme-faq⁄part1 next >
Encoding:
Internet Message Format  |  1994-12-03  |  52.6 KB  |  [TEXT/R*ch]

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