home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / prolog-resource < prev    next >
Encoding:
Text File  |  1995-04-11  |  78.8 KB  |  1,701 lines

  1. Archive-name: prolog/resource-guide/part1
  2. Last-Modified: Fri Mar 10 16:35:04 1995 by Mark Kantrowitz
  3. Version: 1.27
  4. Maintainer: Mark Kantrowitz <mkant+prg@cs.cmu.edu>
  5. URL: http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs/lang/prolog/prg/top.html
  6. Size: 81042 bytes, 1708 lines
  7.  
  8. ;;; ****************************************************************
  9. ;;; Prolog Resource Guide ******************************************
  10. ;;; ****************************************************************
  11. ;;; prg_1.faq
  12.  
  13. This post contains the Prolog Resource Guide.
  14.  
  15. Contributions, corrections, suggestions, and comments should be sent
  16. to Mark Kantrowitz <mkant+prg@cs.cmu.edu>. 
  17.  
  18. This guide lists a variety of resources for the Prolog community,
  19. including books, magazines, ftp archives, and products. It is posted
  20. on the 13th of every month to the newsgroups comp.lang.prolog and
  21. comp.object.logic. The PRG is also posted to the newsgroups
  22. news.answers and comp.answers where they should be available at any
  23. time (ask your local news manager).
  24.  
  25. *** Copyright:
  26.  
  27. Copyright (c) 1992-94 by Mark Kantrowitz. All rights reserved.
  28.  
  29. This FAQ may be freely redistributed in its entirety without
  30. modification provided that this copyright notice is not removed.  It
  31. may not be sold for profit or incorporated in commercial documents
  32. (e.g., published for sale on CD-ROM, floppy disks, books, magazines,
  33. or other print form) without the prior written permission of the
  34. copyright holder.  Permission is expressly granted for this document
  35. to be made available for file transfer from installations offering
  36. unrestricted anonymous file transfer on the Internet.
  37.  
  38. If this FAQ is reproduced in offline media (e.g., CD-ROM, print form,
  39. etc.), a complimentary copy should be sent to Mark Kantrowitz, School
  40. of Computer Science, Carnegie Mellon University, 5000 Forbes Avenue,
  41. Pittsburgh, PA 15213-3891 USA.
  42.  
  43. This article is provided AS IS without any express or implied warranty.
  44.  
  45. *** Recent Changes:
  46.  
  47. ;;; 1.24:
  48. ;;; 13-OCT-94 mk    Added Hdrug to [1-5].
  49. ;;; 13-OCT-94 mk    Added FW_Rules to [1-5].
  50. ;;; 14-OCT-94 mk    Added KLIC entry and removed PDSS entry in [2-3].
  51. ;;; 14-OCT-94 mk    Updated Quintus entry in [2-2].
  52. ;;; 20-OCT-94 mk    Updated prices for books by Dennis Merritt of Amzi! Inc.
  53. ;;; 20-OCT-94 mk    Added entry on GT-Prolog (prolog for Amiga) to [2-2].
  54. ;;; 28-OCT-94 mk    WWW archive of articles from the LP Newsletter.
  55. ;;; 28-OCT-94 mk    WWW page for ILOG.
  56. ;;; 10-NOV-94 mk    Updated ESL Prolog-2 entry.
  57. ;;;
  58. ;;; 1.25:
  59. ;;;  7-DEC-94 mk    Updated LIFE entry in part 2.
  60. ;;;
  61. ;;; 1.26:
  62. ;;; 16-JAN-95 mk    Added [1-18] History of Prolog.
  63. ;;; 16-JAN-95 mk    Updated IF/Prolog entry in part 2.
  64. ;;; 17-JAN-95 mk    Updated PNLA ftp address.
  65. ;;; 26-JAN-95 mk    Added DFKI Oz to [2-5].
  66. ;;;
  67. ;;; 1.27:
  68. ;;; 20-FEB-95 mk    Added LogTalk entry to [1-6].
  69.  
  70. *** Topics Covered:
  71.  
  72. There are currently two parts to the PRG:
  73.  
  74.    1. Introductory Matter and General Questions
  75.    2. Prolog Implementations
  76.  
  77. Table of Contents (Part 1):
  78.  
  79.   [1-0]  Introduction
  80.   [1-1]  Sources of information about Prolog
  81.   [1-2]  Prolog-related Mailing Lists
  82.   [1-3]  Books and Magazine Articles
  83.   [1-4]  Prolog and Logic Programming Associations and Journals
  84.   [1-5]  FTP Archives and Other Resources
  85.   [1-6]  Free Object-Oriented Systems for Prolog
  86.   [1-7]  Commercial Object-Oriented Systems for Prolog
  87.   [1-8]  The Prolog 1000 Database
  88.   [1-9]  X-Windows Interfaces
  89.   [1-10] Is there a straight-forward way of compiling Prolog to C?
  90.   [1-11] WAM emulators and tracers
  91.   [1-12] What is the Basic Andorra Model and AKL?
  92.   [1-13] What is Constraint Logic Programming?
  93.   [1-14] How do you write portable programs in Prolog?
  94.   [1-15] World-Wide Web (WWW) Resources
  95.   [1-16] Prolog Job Postings
  96.   [1-17] Is Prolog really used in Windows NT?
  97.   [1-18] History of Prolog
  98.   [1-A]  Acknowledgements
  99.  
  100. Prolog Implementations (Part 2):
  101.  
  102.   [2-0]  General information about Prolog Implementations
  103.   [2-1]  Free Prolog Implementations
  104.   [2-2]  Commercial Prolog Implementations
  105.   [2-3]  Free Parallel Prolog Implementations
  106.   [2-4]  Commercial Parallel Prolog Implementations
  107.   [2-5]  Free Constraint Systems
  108.   [2-6]  Commercial Constraint Systems
  109.   [2-7]  Free Logic Programming Systems
  110.   [2-8]  Commercial Logic Programming Systems
  111.   [2-9]  Other Commercial Prolog Products
  112.   [2-10] Prolog extensions, meta-interpreters, and pre-processors
  113.  
  114. Search for [#] to get to topic number # quickly. In newsreaders which
  115. support digests (such as rn), [CTRL]-G will page through the answers.
  116.  
  117. ----------------------------------------------------------------
  118. Subject: [1-0] Introduction
  119.  
  120. Certain questions and topics come up frequently in the various network
  121. discussion groups devoted to and related to Prolog and logic programming.
  122. This file/article is an attempt to gather these questions and their
  123. answers into a convenient reference for Prolog programmers.  It (or a
  124. reference to it) is posted periodically.  The hope is that this will
  125. cut down on the user time and network bandwidth used to post, read and
  126. respond to the same questions over and over, as well as providing
  127. education by answering questions some readers may not even have
  128. thought to ask.
  129.  
  130. This guide lists Prolog and logic programming resources: archives,
  131. newsgroups, books, magazines, compilers, interpreters and anything
  132. else you can think of which has to do with the proliferation of Prolog
  133. and logic programming. Also included is a list of suppliers of
  134. products and a list of publishers. Topics can also include
  135. unification, backtracking search, and other aspects of logic
  136. programming. As Prolog has a strong historical tradition in Europe,
  137. we've tried to ensure that the information is relevant to all readers,
  138. including European and North American.
  139.  
  140. This is not a Prolog tutorial, nor is it an exhaustive list of all Prolog
  141. intricacies.  Prolog 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 Prolog programmers are likely to encounter.  If you are
  144. new to Prolog, read one of the introductions listed in the answer to
  145. question [1-3].
  146.  
  147. Please do not post homework questions to the comp.lang.prolog
  148. newsgroup. You won't learn anything if somebody else does the problem
  149. for you, and won't get any credit for your answer if your instructor
  150. reads the newsgroup. 
  151.  
  152. Please also avoid starting the debate on which language is better;
  153. Prolog or Lisp, Prolog or C, and so on. Such discussions are rarely
  154. productive, and nobody will change their opinion as a result of the
  155. debate. The usual conclusion of such debates is that the languages are
  156. Turing equivalent, but some languages are better suited for particular
  157. tasks. For Prolog, the consensus is that it is a good choice for
  158. problems involving logic and problems whose solution can be
  159. represented or characterized succinctly in logical form. Some folks
  160. feel Prolog is the best language for natural language processing;
  161. others disagree.
  162.  
  163. This guide is posted regularly to comp.lang.prolog and comp.object.logic. 
  164. It may also be obtained by anonymous ftp from 
  165.    ftp.cs.cmu.edu:/user/ai/pubs/faqs/prolog/  [128.2.206.173]
  166. using username "anonymous" and password "name@host" (substitute your
  167. email address) or via AFS in the Andrew File System directory
  168.    /afs/cs.cmu.edu/project/ai-repository/ai/pubs/faqs/prolog/
  169. as the files prg_1.faq and prg_2.faq.
  170.  
  171. You can also obtain a copy of the FAQ by sending a message to
  172. ai+query@cs.cmu.edu with 
  173.    Send PRG
  174. in the message body.
  175.  
  176. The FAQ postings are also archived in the periodic posting archive on
  177.    rtfm.mit.edu:/pub/usenet/news.answers/prolog/ [18.181.0.24]
  178. If you do not have anonymous ftp access, you can access the archive by
  179. mail server as well.  Send an E-mail message to
  180. mail-server@rtfm.mit.edu with "help" and "index" in the body on
  181. separate lines for more information.
  182.  
  183. An automatically generated HTML version of the PRG is accessible by
  184. WWW as part of the AI-related FAQs Mosaic page. The URL for this
  185. resource is
  186.    http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs/top.html
  187. The direct URL for the PRG is
  188.    http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs/lang/prolog/prg/top.html
  189.  
  190. If you need to cite the FAQ for some reason, use the following format:
  191.    Mark Kantrowitz, "Prolog Resource Guide", comp.lang.prolog, <month>, <year>,
  192.    ftp.cs.cmu.edu:/user/ai/pubs/faqs/prolog/prg_?.faq, mkant+prg@cs.cmu.edu.
  193.  
  194. Disclaimer:
  195.  
  196.    We have taken great care in making the information in this document as
  197.    accurate as possible. However we are not responsible for any problems
  198.    which might occur from using information supplied in this guide.
  199.  
  200. ----------------------------------------------------------------
  201. Subject:  [1-1]  Sources of Information about Prolog
  202.  
  203. The newsgroups comp.lang.prolog, comp.object.logic, and (to a lesser
  204. extent) comp.ai are a source of information and discussion about Prolog. 
  205. See also sci.logic. The newsgroup comp.constraints is for information
  206. about constraint processing languages and related topics. 
  207.  
  208. A "Frequently Asked Questions" posting is posted to comp.lang.prolog
  209. twice a month by Jamie Andrews <jamie@cs.sfu.ca>. The Prolog FAQ and this
  210. Prolog Resource Guide are intended to complement one another.
  211.  
  212. The draft ISO standard for Prolog is available by anonymous ftp from
  213.    ai.uga.edu:/pub/prolog.standard/ [128.192.12.9]
  214. An unofficial summary of the draft ISO Prolog standard is available
  215. from the same location as isoprolog.tex or isoprolog.ps.Z.  Send mail
  216. to Michael Covington <mcovingt@ai.uga.edu> for more information about
  217. his summary of the standard. For more information about the ISO Prolog
  218. standard itself, write to Roger Scowen, ISO/IEC JTC1 SC22 WG17 (Prolog)
  219. convener, DITC/93, National Physical Laboratory, TEDDINGTON, Middlesex
  220. TW11 0LW, UNITED KINGDOM, call +44-81-943-6956, fax +44-81-977-7091,
  221. or send email to rss@seg.npl.co.uk.
  222.  
  223. Richard O'Keefe's 1984 Prolog standard draft is available by anonymous
  224. FTP from 
  225.    ftp.ecrc.de:/pub/eclipse/std/plstd.doc
  226.  
  227. ----------------------------------------------------------------
  228. Subject: [1-2]  Mailing Lists
  229.  
  230. Prolog and Logic Programming:
  231.    prolog@sushi.stanford.edu (general)
  232.    prolog-hackers@sushi.stanford.edu (nitty gritty)
  233.  
  234.    All requests to be added to or deleted from this list, problems,
  235.    questions, etc., should be sent to prolog-request@sushi.stanford.edu
  236.  
  237.    [The host sushi.stanford.edu no longer exists, as of 11/24/92.
  238.     Does anybody know the new location of the mailing lists?]
  239.  
  240. Lambda Prolog:
  241.    lprolog@cis.upenn.edu
  242.  
  243.    To subscribe, send mail to lprolog-request@cis.upenn.edu.
  244.  
  245. Electronic Journal of Functional and Logic Programming (EJFLP)
  246.  
  247.    EJFLP is a refereed journal that will be distributed for free via e-mail.
  248.    The aim of EJFLP is to create a new medium for research investigating the
  249.    integration of the functional, logic and constraint programming paradigms.
  250.  
  251.    For instructions on submitting a paper, send an empty mail message with 
  252.       Subject: Help
  253.    to: 
  254.       submissions@ls5.informatik.uni-dortmund.de. 
  255.    You will receive an acknowledgment of your submission within a few hours.
  256.  
  257.    To subscribe to the journal, send an empty mail message to the following
  258.    address:
  259.        subscriptions@ls5.informatik.uni-dortmund.de
  260.    You will receive an acknowledgment of your subscription within a few days. 
  261.  
  262.    If there are any problems with the mail-server, send mail to
  263.    ejflp.op@ls5.informatik.uni-dortmund.de. 
  264.  
  265.    The editorial board is: Rita Loogen (RWTH Aachen), Herbert Kuchen (RWTH
  266.    Aachen), Michael Hanus (MPI-Saarbruecken), Manuel MT Chakravarty (TU
  267.    Berlin), Martin Koehler (Imperial College London), Yike Guo (Imperial
  268.    College London), Mario Rodriguez-Artalejo (Univ. Madrid), Andy Krall
  269.    (TU Wien), Andy Mueck (LMU Muenchen), Tetsuo Ida (Univ. Tsukuba,
  270.    Japan), Hendrik C.R. Lock (IBM Heidelberg), Andreas Hallmann (Univ.
  271.    Dortmund), Peter Padawitz (Univ. Dortmund), Christoph Brzoska (Univ.
  272.    Karlsruhe).
  273.  
  274. PDC-L:
  275.    PDC-L@nic.surfnet.nl is a discussion list for PDC Prolog users.
  276.  
  277.    To subscribe, send mail to LISTSERV@nic.surfnet.nl with 
  278.        SUBSCRIBE PDC-L <your full name>
  279.    in the message body.
  280.  
  281. Theorem Provers:
  282.    theorem-provers@ai.mit.edu
  283.  
  284.    This (unmoderated) list is intended for announcements of interest to
  285.    people interested in automated theorem proving.
  286.  
  287.    To subscribe, send your email address to theorem-provers-request@ai.mit.edu.
  288.  
  289. Type Theory:
  290.    types@dcs.gla.ac.uk
  291.  
  292.    Moderated mailing list about type theory. Archived on 
  293.       theory.lcs.mit.edu:/pub/meyer/
  294.  
  295.    To subscribe, send mail to types-request@dcs.gla.ac.uk.
  296.  
  297. Logic:
  298.    logic@cs.cornell.edu
  299.  
  300.    Moderated mailing list about logic. Archived on 
  301.       theory.lcs.mit.edu:/pub/meyer/
  302.   
  303.    To subscribe, send mail to logic-request@cs.cornell.edu
  304.  
  305. ALP (French Chapter):
  306.    prog-logique@irisa.fr
  307.  
  308.    La liste de diffusion "prog-logique" est le support electronique de
  309.    communication de la section francaise de l'ALP (Association for Logic
  310.    Programming), groupe de travail AFCET. Elle complete la lettre du
  311.    groupe publiee trimestriellement.
  312.  
  313.    Pour vous abonner ou vous desabonner, il faut envoyer un "mail" au
  314.    serveur de listes, a l'adresse 
  315.       listserv@irisa.fr
  316.    sans sujet ni signature, et dont le corps du message contient 
  317.         SUB prog-logique Prenom Nom
  318.    Un acquittement est renvoye par messagerie. Pour desabonnement, ecrit
  319.         SIGNOFF prog-logique
  320.    Les requetes envoyees directement a la liste ne seront pas prises en
  321.    compte.
  322.  
  323. ----------------------------------------------------------------
  324. Subject: [1-3] Books and Magazine Articles
  325.  
  326. A BiBTeX bibliography of Logic Programming Conferences is available by
  327. anonymous ftp from duck.dfki.uni-sb.de. See [1-5] below.
  328.  
  329. A partially annotated bibliography of work on integrating
  330. object-oriented and logic programming is available by anonymous ftp
  331. from menaik.cs.ualberta.ca:/pub/oolog/ in PostScript and BibTeX
  332. formats. Written by Vladimir Alexiev <vladimir@cs.ualberta.ca>.
  333.  
  334. The following books are regarded as popular and widely used. Also
  335. included are some books about WAM. This is not intended to be a complete
  336. Prolog bibliography.
  337.  
  338. Prolog Programming:
  339.  
  340.    Covington, Michael A.; Nute, D.; and Vellino, A. "Prolog
  341.    Programming in Depth", Scott, Foresman & Co., 1987. ISBN 0-521-40984-5
  342.    (Out of print, but new edition coming soon. Copies of the 1987
  343.    edition are still available from the University of Georgia
  344.    Bookstore, at 706-542-7131.)
  345.  
  346.    Clocksin, W.F. and Mellish, C.S: "Programming in Prolog", 3rd Ed.
  347.    Springer Verlag, 1987. 281 pages, ISBN 0-387-17539-3 ($29). 
  348.    [Basic introduction to Prolog.]
  349.  
  350.    Coelho, H., and Cotta, J.C., "Prolog by Example", Springer Verlag,
  351.    1988. 381 pages, ISBN 0-387-18313-2 ($39.50).
  352.  
  353.    Cooke, Daniel E., "Logic: The Basis for Understanding Prolog", 
  354.    Ablex, Norwood, NJ, 1994. 224 pages, ISBN 1-56750-028-5 ($27.50).
  355.    [Intro to Prolog with a review of the basic ideas underlying the language.]
  356.  
  357.    Conlon, Tom: "Programming in Parlog". Addison-Wesley, 1989, 
  358.    ISBN 0-201-17450-2.
  359.  
  360.    Dawe, C.M. and M.S. Dawe, "Prolog for Computer Science", Springer
  361.    Verlag, 1994. 190 pages, ISBN 0-387-19811-3 paper ($35). [Intro to
  362.    computer science using Prolog.]
  363.  
  364.    Dodd, Anthony, "Prolog: A logical approach", Oxford University
  365.    Press, New York, 1990, 556 pages. ISBN 0-198-53822-7 (cloth), $52.50; 
  366.    ISBN 0-198-53821-9 (paperback), $26.00.
  367.  
  368.    Kluzniak and Szpakowicz: "Prolog for Programmers", Academic Press 1985
  369.  
  370.    G. L. Lazarev, "Why Prolog? Justifying Logic Programming for Practical
  371.    Applications", Prentice Hall, 1989. [Software engineering bent.
  372.    Emphasizes advantages of declarative programming.]
  373.  
  374.    Le, Tu Van,  "Techniques of Prolog programming, with implementation
  375.    of logical negation and quantified goals", John Wiley, New York, 1993.
  376.    ISBN: 0-471-57175-X (American edition), 0-471-59970-O (International
  377.    edition).  LnProlog, a Prolog interpreter that supports negative
  378.    finding queries and quantified queries is available together with
  379.    the book. 
  380.  
  381.    Saint-Dizier, P., "An Introduction to Programming in Prolog",
  382.    Springer Verlag, 1990. 184 pages, ISBN 0-387-97144-0 paper ($25).
  383.    [Tutorial introduction, with simple examples of AI programs and games.]
  384.  
  385.    Leon Sterling, editor, "The Practice of Prolog", MIT Press, 1990.
  386.    342 pages, ISBN 0-262-19301-9, $39.95.
  387.  
  388. Advanced Prolog Programming:
  389.  
  390.    O'Keefe, Richard A., "The Craft of PROLOG", MIT Press, 1990, 410 pages.
  391.    ISBN 0-262-15039-5, $42.50.
  392.  
  393.    Peter Ross, "Advanced Prolog: Techniques and Examples",
  394.    Addison-Wesley, 1989, ISBN 0-201-17527-4.
  395.  
  396.    Leon Sterling and Ehud Shapiro, "The Art of Prolog: Advanced
  397.    Programming Techniques", 2nd Edition, MIT Press, 1994. 688 pages,
  398.    ISBN 0-262-19338-8 ($49.95).
  399.    [Source code for the book is available in ftp.cwru.edu:/ArtOfProlog/.
  400.     There is a subdirectory for each chapter of the book containing the
  401.     text of the programs in that chapter.]
  402.  
  403. AI and Prolog:
  404.  
  405.    Yoav Shoham, "Artificial Intelligence Techniques in Prolog", Morgan
  406.    Kaufmann Publishers, 1993, 400 pages. ISBN 1-55860-167-8 (paper) $39.95. 
  407.    ISBN 1-55860-319-0 (cloth) $49.95. [Topics include search, backward
  408.    chaining, data-driven methods, truth maintenance, constraint
  409.    satisfaction, reasoning with uncertainty, planning, temporal
  410.    reasoning, machine learning, and natural language processing. Prolog
  411.    source for all the programs in the book is available by anonymous ftp
  412.    from unix.sri.com:/pub/shoham/]
  413.  
  414.    Bratko, Ivan, "Programming in Prolog for Artificial Intelligence", 
  415.    2nd Edition, Addison-Wesley, 1990. [Good introduction to Prolog and AI.
  416.    A bit large, though, for an Intro to Prolog course. Includes
  417.    discussion of the 8-queens problem.]
  418.  
  419.    Dennis Merritt, "Building Expert Systems in Prolog", Springer-Verlag, 1989.
  420.    358 pages, ISBN 0-387-97016-9 hardcover ($52).
  421.    Explains how to build various expert system shells in Prolog, including
  422.    forward/backward chaining, FOOPS, rete-network, frames, solving
  423.    Rubik's cube and more. Includes complete source code listings.
  424.    (Source code from the book is also sold on disk by Amzi! Inc. and
  425.    is available by anonymous FTP from
  426.       ftp.std.com:/ftp/vendors/amzi/programs/
  427.       ftp.cs.cmu.edu:/user/ai/areas/expert/systems/amzi/programs/
  428.    as the files xsip.*)
  429.  
  430.    Dennis Merritt: "Adventure in Prolog", Springer-Verlag, 1990. 
  431.    186 papers, ISBN 0-387-97315-X hardcover ($38).
  432.    Teaches Prolog by leading the reader through the construction of an
  433.    adventure game. The exercises lead the reader through three other
  434.    programs:  an intelligent database, an expert system and an order-entry
  435.    program.  While most texts teach Prolog with fragments of interesting code,
  436.    this book takes a more pragmatic (as opposed to theoretical approach) and
  437.    shows the reader how to assemble complete Prolog programs.
  438.  
  439.    Gazdar, G. and Mellish, C., "Natural Language Processing in Prolog:
  440.    An Introduction to Computational Linguistics", Addison-Wesley,
  441.    Reading, Massachusetts, 1989. (There are three different editions
  442.    of the book, one for Lisp, one for Prolog, and one for Pop-11.)
  443.  
  444.    Fernando C.N. Pereira and Stuart M. Shieber, "Prolog and
  445.    Natural-Language Analysis", CSLI Lecture Notes Number 10, Stanford,
  446.    CA, 1987. 286 pages, ISBN 0-937073-18-0.
  447.  
  448.    Michael A. Covington, "Natural Language Processing for Prolog
  449.    Programmers", Prentice-Hall, Englewood Cliffs, NJ, 1994. ISBN
  450.    0-13-629213-5.
  451.  
  452.    Harvey Abramson and Veronica Dahl, "Logic Grammars", Springer-Verlag,
  453.    New York, 1989, 234 pages, ISBN 0-387-96961-6.
  454.  
  455.    Peter Flach, "Simply Logical: Intelligent Reasoning by Example",
  456.    John Wiley & Sons, 1994, 256 pages. ISBN 0-471-94152-2 paper ($31.95).
  457.    [Covers theoretical and practical aspects of Prolog programming as well
  458.    as AI topics like knowledge representation, search, heuristics, 
  459.    abduction, default reasoning, and induction. Every technique is
  460.    accompanied by a Prolog program that implements it. More information
  461.    about the book is available from  
  462.       http://machtig.kub.nl:2080/Infolab/Peter/SimplyLogical.html
  463.    or by email from Peter.Flach@kub.nl.]
  464.  
  465. Prolog and Object-Oriented Programming:
  466.  
  467.    Chris Moss, "Prolog++ The Power of Object-Oriented and Logic
  468.    Programming", Addison-Wesley, 1994. 312 pages, ISBN 0-201-56507-2. UK
  469.    price is 21.95 pounds. [This paperback includes a special offer to
  470.    obtain a Prolog++ compiler from LPA for Windows 3.1 or Macintosh. UK
  471.    price is 29.95 pounds (plus 17.5 percent VAT) plus 5.00 pounds postage
  472.    and handling. Elsewhere the cost is $49.95 plus $8 p&h.]
  473.  
  474. Logic Programming:
  475.  
  476.    Hogger, Christopher J., "Introduction to Logic Programming",
  477.    Academic Press, 1984. 278 pages. ISBN 0-12-352090-8 (alk. paper)
  478.    ISBN 0-12-352092-4 (pbk.).
  479.  
  480.    Hogger, Christopher J., "Essentials of Logic Programming", 
  481.    Clarendon Press, Oxford, 1990. ISBN 0-19-853820-0. [Covers both
  482.    foundations and more practical material, relating it all to Prolog.
  483.    Takes a different approach than his first intro, dividing the book
  484.    into many short "themes" instead of chapters, and including many
  485.    excercises (with some answers).]
  486.  
  487.    Kowalski, R.A.: "Logic for Problem Solving", New York 1979, Elsevier Publ.
  488.  
  489.    LLoyd, John: "Foundations of Logic Programming", 2nd Edition,
  490.    Springer-Verlag, 1988. (Intro to logic programming theory.)
  491.  
  492.    David Maier and David S. Warren: "Computing with Logic: Logic
  493.    Programming with Prolog", Benjamin Cummings, Menlo Park, CA, 1989.
  494.  
  495.    Nilsson, Ulf and Maluszynski, Jan, "Logic, Programming and Prolog",
  496.    John Wiley & Sons, 1990, ISBN 0-471-92625-6.
  497.  
  498.    Subrata Kumar DAS, "Deductive Databases and Logic Programming",
  499.    Addison-Wesley Publishing Company, July 1992, 448 pages. 
  500.    ISBN 0-201-56897-7. 
  501.  
  502. Constraint Logic Programming and Constraint Satisfaction:
  503.  
  504.    Bennaceur, Hachemi and Gerard Plateau, "An exact algorithm for the
  505.    constraint satisfaction problem: Application to logical inference",
  506.    Information Processing Letters 48(3):151-158, November 19, 1993.
  507.  
  508.    Cohen, J., "Constraint Logic Programming Languages", Communciations
  509.    of the ACM 33(7):52-68, 1992. [Good introduction to CLP and
  510.    includes a historical overview.]
  511.  
  512.    Freeman-Benson, B.N., Maloney, J., and Borning, A., "An Incremental
  513.    Constraint Solver", Communications of the ACM 33(1):54-63, 1990.
  514.    [Includes a good reading list on the history and applications of
  515.    constraints.]
  516.  
  517.    Freuder, Eugene C., and Richard J. Wallace, "Partial constraint
  518.    satisfaction", Artificial Intelligence 58(1-3):21-70, December 1992.
  519.  
  520.    Van Hentenryck, Pascal, "Constraint Satisfaction in Logic Programming",
  521.    MIT Press, Cambridge, MA, 1989, ISBN 0-262-08181-4.
  522.  
  523.    Jaffar, Joxan and Jean-Louis Lassez, "Constraint Logic Programming", in
  524.    Proceedings of the 14th ACM Symposium on Principles of Programming
  525.    Languages (POPL), Munich, Germany, pages 111-119, 1987.  
  526.    [A longer version appears in Joxan Jaffar and Jean-Louis Lassez,
  527.    "Constraint Logic Programming", Technical Report 86-74, Monash
  528.    University, Victoria, Australia, June 1986.]
  529.  
  530.    Kumar, Vipin, "Algorithms for Constraint-Satisfaction Problems: A
  531.    Survey", AI Magazine 13(1):32-44, 1992.
  532.  
  533.    Mackworth, Alan K., "The logic of constraint satisfaction", Artificial
  534.    Intelligence 58:3-20, 1992.
  535.  
  536.    Meseguer, P., "Constraint Satisfaction Problems: An Overview", AICOM
  537.    2(1):3-17, 1989.
  538.  
  539.    Steele, Guy L., "The Definition and Implementation of A Computer
  540.    Programming Language Based on Constraints", PhD thesis, MIT, 1980.
  541.  
  542.    Tsang, Edward, "Foundations of Constraint Satisfaction", Academic
  543.    Press, 1993. 421 pages, ISBN 0-12-701610-4 ($75). [Good overview.]
  544.  
  545.    Zhang, Ying and Alan K. Mackworth, "Constraint Programming in
  546.    Constraint Nets", in Position Papers for the First Workshop on
  547.    Principles and Practice of Constraint Programming, pages 303-312,
  548.    Newport, RI, April 28-30, 1993.
  549.  
  550.    [See also the articles on Constraint Networks (pages 276-285) and
  551.    Constraint Satisfaction (pages 285-293) in Shapiro's Encyclopedia
  552.    of Artificial Intelligence.]
  553.  
  554. Prolog Implementations and WAMs:
  555.  
  556.    Ait-Kaci, Hassan, "Warren's Abstract Machine: A Tutorial Reconstruction",
  557.    MIT Press, Cambridge, MA. 1991.
  558.    125 pages, ISBN 0-262-51058-8 paper ($17.50), 0-262-01123-9 cloth.
  559.  
  560.    Patrice Boizumault, "The Implementation of Prolog", Princeton
  561.    University Press, Princeton, NJ, 1993.  Translated by Ara M.
  562.    Djamboulian and Jamal Fattouh. ISBN 0-691-08757-1, 357 pages ($49.50).
  563.    [The interpreters developed in the book are available by anonymous
  564.    ftp from cnam.cnam.fr:/pub/Boizumault/. See [2-1].]
  565.  
  566.    Campbell, J.A. (ed):  "Implementations of Prolog", John Wiley, 1984
  567.  
  568.    Peter M. Kogge, "The Architecture of Symbolic Computers", 
  569.    McGraw-Hill, 1991. ISBN 0-07-035596-7.
  570.       Includes sections on memory management, the SECD and
  571.       Warren Abstract Machines, and overviews of the various
  572.       Lisp Machine architectures.
  573.  
  574.    David H. D. Warren: "An Abstract Prolog Instruction Set", Technical Note
  575.    No 309, SRI International, Menlo Park, CA, 1983.
  576.  
  577.    David H. D. Warren, "Logic Programming and Compiler Writing," in
  578.    Software-Practice and Experience 10(2):97-125, 1980.
  579.  
  580.    J. Cohen and T. Hickey, "Parsing and Compiling using Prolog",
  581.    ACM Transactions on Programming Languages and Systems (TOPLAS), 
  582.    9(2):125-163, 1987.
  583.  
  584.    J. Paakki, "Prolog in practical compiler writing", The Computer
  585.    Journal 34(1):64-72, 1991. (But see Letters to the Editor, The
  586.    Computer Journal 35(3):313, 1992.)
  587.  
  588.    Jonathan P. Bowen, "From Programs to Object Code using Logic and Logic
  589.    Programming", in R. Giegerich and S. L. Graham, editors, Code
  590.    Generation -- Concepts, Tools, Techniques, pages 173-192,
  591.    Springer-Verlag, 1992.
  592.  
  593.    Jonathan P. Bowen, "From Programs to Object Code and back again using
  594.    Logic Programming: Compilation and Decompilation", Journal of
  595.    Software Maintenance: Research and Practice 5(4):205-234, December 1993.
  596.  
  597. Parallel Prologs:
  598.  
  599.    Gregory, Steve: "Parallel Logic Programming in Parlog: The Language
  600.    and Its Implementation", Addison-Wesley, 1987, ISBN 0-201-19241-1.
  601.  
  602.    Tick, E.: "Parallel Logic Programming". MIT Press, 1991
  603.  
  604. Miscellaneous:
  605.  
  606.    Deville, Yves: "Logic Programming, Systematic Program Development",
  607.    International Series in Logic Programming, Addison-Wesley, 1990, 338 pages.
  608.    ISBN 0-201-17576-2. 
  609.  
  610.    Wolfram, D.A., "The Clausal Theory of Types", Cambridge Tracts in 
  611.    Theoretical Computer Science {\bf 21}, Cambridge University Press,
  612.    1993.
  613.  
  614. Magazine Articles:
  615.  
  616.    PCAI Magzine, September/October 1993. Article on exploring Prolog,
  617.    showing the first steps to four applications -- an adventure game, an
  618.    object-oriented shell, a tax program, and an animal guessing game.
  619.    An excerpt of this article is available from
  620.       ftp.cs.cmu.edu:/user/ai/lang/prolog/doc/intro/explore.doc 
  621.  
  622.    BYTE Magazine, August 1987. 5 introductory articles on Prolog.
  623.    Applications include logic grammars and simulating a microprocessor.
  624.  
  625.    Uwe Schreiweis: Beredte Logik, Konzepte der 'KI-Sprache" Prolog,
  626.    (Eloquent Logic, Concepts of the AI language Prolog), iX Magazine,
  627.    October 1992, pages 84-90.
  628.  
  629.    Uwe Schreiweis: Basis der Fuenf, Die Sprache Prolog in der Public
  630.    Domain, (Base of the Five, Prolog in the Public Domain), iX Magazine,
  631.    October 1992, pages 92-94.
  632.  
  633.    Uwe Schreiweis: Fuenfte Generation, Kommerzielle Prolog-Systeme,
  634.    (Fifth Generation, Commercial Prolog Systems), iX Magazine, October
  635.    1992, pages 96-102.
  636.  
  637.    Klaus Bothe: Weniger Raum, Speicherplatzbezogener Prolog-Benchmark,
  638.    (Less Space, A Space Oriented Prolog Benchmark), iX Magazine, October
  639.    1992, pages 106-7.
  640.  
  641. Magazines Related to Prolog:
  642.  
  643.    Logic Programming Newsletter (4 issues/yr)
  644.    Included with membership in the Association for Logic Programming 
  645.    ($20 regular, $10 students). For membership information, write to
  646.    Cheryl Anderson (ALP), DoC-ICSTM, 180 Queens Gate, London SW7 2BZ,
  647.    UK, phone +44-71-589-5111 x5011, fax +44-71-589-1552, or send email
  648.    to alp@doc.ic.ac.uk. Contributions are welcome and should be sent
  649.    to Andrew Davidson <ad@cs.mu.oz.au>. Selected articles from the
  650.    newsletter are available from the WWW archive
  651.       http://www.cs.mu.oz.au/~ad/alp/archive.html
  652.  
  653.    AI Communications (4 issues/yr)
  654.    "The European Journal on Artificial Intelligence"  ISSN 0921-7126,
  655.    European Coordinating Committee for Artificial Intelligence.
  656.  
  657.    AI Expert (issued monthly) ISSN 0888-3785, Miller Freeman Publishers
  658.    See a copy of the magazine for list of BBS's in NA. On CompuServe: GO
  659.    AIEXPERT. Regularly reviews Prolog interpreters and compilers.
  660.  
  661.    Expert Systems (issued Feb, May, Aug and Nov) ISSN 0266-4720,
  662.    Learned Information (Europe) Ltd. Subscription: GBP 85 or USD 110
  663.  
  664.    IEEE Expert (issued bimonthly) ISSN 0885-9000, IEEE Computer Society
  665.  
  666.    The Journal of Logic Programming (issued bimonthly), (North-Holland),
  667.    Elsevier Publishing Company, ISSN 0743-1066
  668.  
  669.    New Generation Computing, Springer-Verlag. (LOTS of Prolog in it.)
  670.  
  671. ----------------------------------------------------------------
  672. Subject: [1-4] Prolog and Logic Programming Associations and Journals
  673.  
  674. ASSOCIATION FOR LOGIC PROGRAMMING (ALP)
  675. Members receive the ALP Newsletter.
  676.  
  677. For information on membership, contact
  678.  
  679.    Cheryl Anderson
  680.    ALP Administrative Secretary
  681.    Department of Computing
  682.    Imperial College
  683.    180 Queen's Gate
  684.    London, SW7 2BZ, UK
  685.  
  686.    Email:   csa@doc.ic.ac.uk
  687.    Fax:    +44 71 589 1552
  688.    Phone:  +44 71 589 5111 x5011
  689.  
  690. Newsletter submissions should be sent to
  691.  
  692.    Andrew Davison
  693.    Department of Computer Science
  694.    University of Melbourne
  695.    Parkville
  696.    Melbourne, Victoria 3052
  697.    AUSTRALIA
  698.  
  699.    Email:   ad@cs.mu.oz.au
  700.    Fax:    +61 3 348 1184
  701.    Phone:  +61 3 344 7207 / 5230
  702.    Telex:   AA 35185
  703.  
  704. ----------------------------------------------------------------
  705. Subject: [1-5] FTP Archives and Other Resources
  706.  
  707. The following are achives that contain Prolog-related material, such as
  708. code, interpreters, articles, etc. Most of the archives are ftp sites.
  709. They are listed by domain.name and [IP Address]. To access them and
  710. download programs type at the prompt: 
  711.  
  712.         ftp <site name> (or IP address)
  713.         login: "anonymous",
  714.         password: your own return email address,
  715.         cd <directory>, ls to see files, 
  716.         set binary, 
  717.         get <filename> to transfer file to your system
  718.         stop with quit or exit
  719.  
  720. Deviations from this general scheme may occur but the above should
  721. work in most cases.
  722.  
  723. CMU AI Repository, Prolog Section:
  724.  
  725.    The Prolog Section of the CMU Artificial Intelligence Repository
  726.    (aka "The Prolog Repository") is accessible by anonymous ftp to
  727.       ftp.cs.cmu.edu:/user/ai/lang/prolog/ [128.2.206.173]
  728.    through the AFS directory
  729.       /afs/cs.cmu.edu/project/ai-repository/ai/lang/prolog/
  730.    or by WWW from the URL   
  731.       http://www.cs.cmu.edu:8001/Web/Groups/AI/html/repository.html
  732.    and includes more than 110 megabytes of sources and other materials
  733.    of interest to Prolog programmers, including all freely
  734.    distributable implementations and many programs. The contents of the 
  735.    CMU AI Repository has been keyword indexed to provide convenient
  736.    browsing of the contents.
  737.  
  738.    The repository has standardized on using 'tar' for producing
  739.    archives of files and 'gzip' for compression.
  740.  
  741.    To search the keyword index by mail, send a message to:
  742.       ai+query@cs.cmu.edu
  743.    with one or more lines containing calls to the keys command, such as:
  744.       keys prolog gui
  745.    in the message body.  Keywords may be regular expressions and are
  746.    compared with the index in a case-insensitive conjunctive fashion.  
  747.    You'll get a response by return mail. Do not include anything else in 
  748.    the Subject line of the message or in the message body.  For help on
  749.    the query mail server, include: 
  750.       help
  751.    instead. 
  752.  
  753.    A Mosaic interface to the keyword searching program is in the
  754.    works.  We also plan to make the source code (including indexes) to
  755.    this program available, as soon as it is stable.
  756.  
  757.    Most of the Prolog Section of the AI Repository appears on Prime Time 
  758.    Freeware for AI, Issue 1-1, a mixed-media book/CD-ROM publication. It
  759.    includes two ISO-9660 CD-ROMs bound into a 224 page book and sells
  760.    (list) for US$60 plus applicable sales tax and shipping and handling
  761.    charges. Payable through Visa, Mastercard, postal money orders in US
  762.    funds, and checks in US funds drawn on a US bank. For more
  763.    information write to Prime Time Freeware, 370 Altair Way, Suite 150,
  764.    Sunnyvale, CA  94086  USA, call 408-433-9662, 408-433-0727 (fax),
  765.    or send email to ptf@cfcl.com.
  766.  
  767.    Contributions of software and other materials are always welcome but
  768.    must be accompanied by an unambiguous copyright statement that grants
  769.    permission for free use, copying, and distribution -- either a
  770.    declaration by the author that the materials are in the public domain,
  771.    that the materials are subject to the GNU General Public License (cite
  772.    version), or that the materials are subject to copyright, but the
  773.    copyright holder grants permission for free use, copying, and
  774.    distribution. (We will tell you if the copying permissions are too
  775.    restrictive for us to include the materials in the repository.)
  776.    Inclusion of materials in the repository does not modify their
  777.    copyright status in any way. Materials may be placed in:
  778.       ftp.cs.cmu.edu:/user/ai/new/
  779.    When you put anything in this directory, please send mail to
  780.       ai+contrib@cs.cmu.edu
  781.    giving us permission to distribute the files, and state whether
  782.    this permission is just for the AI Repository, or also includes
  783.    publication on the CD-ROM version (Prime Time Freeware for AI).
  784.    We would also appreciate if you would include a 0.doc file for your
  785.    package; see /user/ai/new/package.doc for a template. (If you don't
  786.    have the time to write your own, we can write it for you based on
  787.    the information in your package.)
  788.  
  789.    The Prolog Section of the AI Repository is maintained by Mark Kantrowitz 
  790.    <AI.Repository@cs.cmu.edu>. 
  791.  
  792. Artificial Intelligence Programs:
  793.    ai.uga.edu:/pub/ [128.192.12.9]
  794.  
  795.    The University of Georgia AI FTP Library contains public domain
  796.    Prologs, such as Open Prolog and ESL PD Prolog, PrEd (a small text
  797.    editor for Prolog), and some miscellaneous prolog programs in
  798.       ai.uga.edu:/pub/prolog/
  799.    A copy of the programs from the book by Covington, Nute, and Vellino, (see
  800.    the section on Books below), is in
  801.       ai.uga.edu:/pub/prolog.book/
  802.    and the draft ISO standard for prolog is in
  803.       ai.uga.edu:/pub/prolog.standard/
  804.    Some technical reports with accompanying code are in
  805.       ai.uga.edu:/pub/ai.reports/
  806.    Other materials of interest are in
  807.       ai.uga.edu:/pub/natural.language/
  808.       ai.uga.edu:/pub/natural.language.book/
  809.    Maintained by Michael Covington <mcovingt@ai.uga.edu>.
  810.  
  811. ALE:     
  812.    ALE (Attribute Logic Engine), a freeware system written in
  813.    Prolog, integrates phrase structure parsing and constraint logic
  814.    programming with typed feature structures as terms.  Types are
  815.    arranged in an inheritance hierarchy and specified for the features
  816.    and value types for which they are appropriate.  Grammars may also
  817.    interleave unification steps with logic program goal calls (as can be
  818.    done in DCGs), thus allowing parsing to be interleaved with other
  819.    system components.  While ALE was developed to handle HPSG grammars,
  820.    it can also execute PATR-II grammars, DCG grammars, Prolog, Prolog-II,
  821.    and LOGIN programs, etc. Grammars and programs are specified with a
  822.    version of Rounds-Kasper Attribute Value Logic with macros and
  823.    variables.  ALE supports lexical rules and empty categories for
  824.    grammars, using a bottom-up, all-paths dynamic chart parser. ALE
  825.    supports last call optimization, negation by failure and cuts in
  826.    definite clauses, which may be used independently or integrated into
  827.    grammars. The system is distributed with several sample grammars,
  828.    including a fairly comprehensive implementation of a head-driven
  829.    phrase structure grammar for English. Version 2.0 of ALE is
  830.    available free for research purposes by anonymous ftp from 
  831.       j.gp.cs.cmu.edu:/usr1/carp/ftp/
  832.    as the files ale.*, or from the CMU AI Repository in
  833.       ftp.cs.cmu.edu:/user/ai/lang/prolog/code/parsing/ale/
  834.    For more information write to Bob Carpenter <carp@lcl.cmu.edu> or
  835.    Gerald Penn <penn@lcl.cmu.edu>.
  836.  
  837. ALP-UK Library:
  838.    The best Prolog library currently is the one collected by the ALP-UK
  839.    group. It is available to members at 30 pounds sterling for a Sun
  840.    cartridge or 2 pounds/IBM DOS disk. (non-members maybe, how much?) It
  841.    contains MBs of Prolog systems (including SB Prolog), libraries
  842.    (including the Edinburgh library), benchmarks, grammars, theorem provers,
  843.    object and graphics systems etc. For more information, write to ALP-UK
  844.    Library, Sanjay Raina, Librarian, Dept. of Computer Science, University
  845.    of Bristol, University Walk, Bristol BS8 1TR, UK, call +44 0272 303030
  846.    x3304, or send email to raina@compsci.bristol.ac.uk.
  847.  
  848. CASLOG
  849.    CASLOG (Complexity Analysis System for LOGic) is an experimental
  850.    semi-automatic complexity analysis system for logic programs. It can
  851.    perform the worst-case analysis for complexity measures: argument size
  852.    complexity, number of solutions complexity, and time complexity.
  853.  
  854.    CASLOG extends the techniques developed for analyzing imperative and
  855.    functional languages to deal with nondeterminism and generation of
  856.    multiple solutions via backtracking in logic languages. The analyses
  857.    for different complexity measures are implemented in a unified
  858.    framework and share several common features. First, the predicates in
  859.    a program are processed in an order generated by a bottom-up
  860.    topological sorting over the call graph of the program. Second, the
  861.    complexity function for a predicate is derived from the complexity
  862.    function of its clauses by using the information about the mutual
  863.    exclusion relationships between its clauses. Third, the complexity
  864.    function for a clause is inferred based on the data dependency
  865.    relationships between its literals. Fourth, the complexity functions
  866.    for recursive clauses are in the form of difference equations and are
  867.    transformed into closed form functions using difference equation
  868.    solving techniques. This unified framework can simplify proofs of
  869.    correctness and the implementation of the algorithms.
  870.  
  871.    CASLOG is available by anonymous ftp from cs.arizona.edu:/caslog/. This
  872.    is an alpha distribution, and includes CASLOG version 1.0, a
  873.    preliminary user manual, a paper on CASLOG, and a set of examples.
  874.    For more information, contact Nai-Wei Lin <naiwei@cs.arizona.edu>.
  875.  
  876. Constraint Programming Paper Archive:
  877.    Aarhus University, Denmark, has established an anonymous ftp archive
  878.    for papers on "Constraint Programming" at ftp.daimi.aau.dk:/pub/CLP/.
  879.    For further information, contact Brian H. Mayoh <brian@daimi.aau.dk>.
  880.  
  881. CSP:
  882.  
  883.    Some constraint-related papers by a research group at the
  884.    University of Washington are available by anonymous ftp from 
  885.       june.cs.washington.edu:/pub/constraints/papers/
  886.    The papers from the 1994 Principles and Practice of Constraint
  887.    Programming Workshop are available in
  888.       june.cs.washington.edu:/pub/constraints/papers/ppcp94/
  889.    There are also implementations of several constraint satisfaction
  890.    algorithms and constraint-based systems, including the DeltaBlue and
  891.    SkyBlue algorithms, the Multi-Garnet user interface toolkit, ThingLab
  892.    II, and CoolDraw (a constraint-based drawing system), in
  893.    subdirectories of 
  894.       june.cs.washington.edu:/pub/constraints/code/
  895.    The ftp archive is also accessible via WWW:
  896.       http://web.cs.city.ac.uk/archive/constraints/constraints.html
  897.    All the source code is in the public domain. For more information,
  898.    write to Alan Borning <borning@geoduck.cs.washington.edu>.
  899.  
  900.    C implementations of a number of constraint satisfaction algorithms
  901.    are available by anonymous ftp from
  902.       ftp.cs.ualberta.ca:/pub/ai/csp/
  903.    Get the files README and csplib.tar.Z.  The algorithms include
  904.    variations on backtracking (backjumping, backmarking, chronological
  905.    backtracking, etc.), local consistency preprocessing algorithms (e.g.,
  906.    arc consistency), and random problem generators. For more information,
  907.    write to Peter van Beek <vanbeek@cs.ualberta.ca>.
  908.  
  909. Eden:
  910.    Eden is a Poplog-based AI microworld developed by Simon Perkins,
  911.    Jocelyn Paine and Edmund Chattoe of the Oxford University Artificial
  912.    Intelligence Society. It is intended to serve as a testbed for
  913.    learning and planning programs. Programs written in Pop-11, Prolog,
  914.    Lisp, and ML control a "bug" that lives in a 2-dimensional world. Any
  915.    kind of algorithm may be used to control the bug, including genetic
  916.    algorithms, neural nets, and rule-based systems. Eden consists of a
  917.    grid of cells, each of which can contain objects such as keys, doors,
  918.    boulders and quicksand. Bug's objective is to find and eat a piece of
  919.    food which the simulator has placed somewhere within this grid. To do
  920.    this, Bug must negotiate its way towards the food while dealing
  921.    intelligently with obstacles. Eden's laws of physics allow Bug to take
  922.    one of several different actions when it encounters an object. The
  923.    simulator then works out the consequences of the chosen action on Bug
  924.    and on Eden, and displays these graphically in a Ved window. Bug's
  925.    perceptions are updated to reflect the new state of the world, and the
  926.    cycle repeats. Eden is available by anonymous ftp from the Imperial
  927.    College archive in
  928.       src.doc.ic.ac.uk:/packages/prolog-pd-software/ [146.169.2.10] 
  929.    as the file eden.tar.Z. (Note: This is really a link to the
  930.    directory computing/programming/languages/prolog/pd-software/.)
  931.    Eden includes PopBeast, a simple Prolog bug which can read and
  932.    parse simple commands, extract their meaning, plan how to satisfy
  933.    these commands, and then carry out the plans.
  934.  
  935.    Parts of the current Eden are coded in Pop-11, so porting it to
  936.    Prologs other than Poplog will require some effort. Most of the
  937.    recoding needed is in the grid-world simulator and the definition of
  938.    objects. Send mail to Jocelyn Paine <popx@vax.oxford.ac.uk> if
  939.    you're willing to try this. 
  940.  
  941. FW_Rules:
  942.  
  943.    FW_RULES is a Sicstus Prolog library providing a compiler for forward
  944.    chaining rules.  The implementation is based on a non-state saving
  945.    technique coupled with an indexing mechanism on the working memory
  946.    based on C bitwise operations to achieve efficiency. The library
  947.    supports interoperability between the forward chaining language and
  948.    the underlying Prolog engine.  Terms in the working memory are
  949.    represented as Prolog facts and can be accessed from Prolog to perform
  950.    deduction. It is available by anonymous FTP from
  951.       ftp.cs.unibo.it:/pub/gaspari/fw_rules/
  952.    as the files README and fw_rules.tar.Z. For more information,
  953.    please write to Mauro Gaspari <gaspari@cs.unibo.it>.
  954.  
  955. HDRUG:
  956.  
  957.    Hdrug is an environment to develop logic grammars, parsers, and
  958.    generators for natural languages.  The package comes with a number of
  959.    example grammars, including a Categorial Grammar, a Tree Adjoining
  960.    Grammar, a Unification Grammar in the spirit of Head-driven Phrase
  961.    Structure Grammar, an Extraposition Grammar, a Definite Clause
  962.    Grammar, and a port of the HPSG grammar from Bob Carpenter's ALE
  963.    system. Each of the grammars comes with a set of parsers, such as 
  964.    Earley-like chart parsers, left-corner parsers and head-driven
  965.    parsers. Some grammars come with variants of the head-driven
  966.    generator. The package allows easy comparison of different
  967.    parsers/generators, extensive possibilities of compiling feature
  968.    equations into Prolog terms, graphical (Tk), LaTeX and ordinary Prolog
  969.    output of trees, feature structures and Prolog terms, and plotted
  970.    graphs and tables of statistical information. Hdrug runs in Sicstus
  971.    Prolog and requires ProTcl and Tcl/Tk. It is available by anonymous
  972.    FTP from
  973.       tyr.let.rug.nl:/pub/prolog-app/Hdrug/
  974.    or by WWW from
  975.       http://tyr.let.rug.nl/~vannoord/prolog-app/Hdrug/
  976.    For more information, write to Gertjan van Noord <vannoord@let.rug.nl>.
  977.  
  978. Logic Programming Bibliographies:
  979.    duck.dfki.uni-sb.de:/pub/lp-proceedings/ [134.96.188.92]
  980.  
  981.    The ftp server supports tar'ing on the fly, so if you type "get
  982.    bibtex.tar" you will get a tar'ed version of the "bibtex" directory.
  983.  
  984.    BibTeX entries for the proceedings of the following conferences
  985.    are included: SLP84-87,91, NACLP89-90, ILPS91, ICLP82,84,86-91,93,
  986.       JICLP92, LP88, RTA89,93, PLILP90-92, ALPUK91, ICOT92, ALP90,92,
  987.       CADE90,92, CTRS90,92, LICS86-91, UNIF89, EPIA89,91,93, TACS91,
  988.       TAPSOFT93, EAIA90, FGCS92, FAC, ILPS93, PEPM91,93
  989.    and the following journals: JLP85-93, JAR91-93, JSC91-93, IANDC82-92.
  990.  
  991.    The bibliography is mirrored by the Universidade Nova de Lisboa.
  992.    In addition, the bibliography can be searched using either WAIS or
  993.    GOPHER. To search the lp-proceedings using WAIS, use the
  994.       lp-proceedings.src 
  995.    wais source, available from the directory of servers. To search the
  996.    lp-proceedings using GOPHER, point the client to gopher.fct.unl.pt,
  997.    and follow the directories 
  998.       "Research/Bibliography/Logic Programming Proceedings".
  999.    Searching should be easier than retrieving the entire package every
  1000.    time you want to locate a particular article.
  1001.  
  1002.    Send comments and bug reports to rscheidhauer@dfki.uni-sb.de.
  1003.  
  1004. Machine Learning Algorithms Implemented in Prolog:
  1005.  
  1006.    In 1988 the Special Interest Group on Machine Learning of the German
  1007.    Society for Computer Science (GI e.V.) decided to establish a library
  1008.    of PROLOG implementations of Machine Learning algorithms. The library
  1009.    includes - amongst others - PROLOG implementations of Winston's arch, 
  1010.    Becker's AQ-PROLOG, Fisher's COBWEB, Brazdil's generation of 
  1011.    discriminations from derivation trees, Quinlan's ID3, FOIL, IDT,
  1012.    substitution matching, explanation based generalization, inverse 
  1013.    resolution, and Mitchell's version spaces algorithm. 
  1014.    All algorithms are written in Edinburgh Prolog syntax. Most of the
  1015.    algorithms are copyleft under the GNU General Public License. 
  1016.    The programs are currently available via anonymous ftp-server from
  1017.    the GMD: 
  1018.  
  1019.         ftp.gmd.de:/gmd/mlt/ML-Program-Library/ [129.26.8.84]
  1020.  
  1021.    They are also available by surface mail from Thomas Hoppe, 
  1022.    Projektgruppe KIT, Technische Universitaet Berlin, Franklinstr. 28/29,
  1023.    10629 Berlin, Germany. Files will be distributed via MS-DOS formated
  1024.    3.5 inch floppy (double, high and extra-high density),  which should
  1025.    be included with your request. You can also get them by sending an email
  1026.    message to Thomas Hoppe (see below).
  1027.  
  1028.    Send additional PROLOG implementations of Machine Learning
  1029.    Algorithms, complaints about them and detected bugs or problems
  1030.    to Thomas Hoppe, <hoppet@cs.tu-berlin.de>. Send suggestions and
  1031.    complaints about the ftp library to Werner Emde, Gesellschaft
  1032.    fuer Mathematik und Datenverarbeitung, Bonn, <emde@gmd.de>. 
  1033.  
  1034.  
  1035. Natural Language Processing in Prolog:
  1036.  
  1037.    The Prolog and DCG programs from Pereira and Shieber's book, "Prolog
  1038.    and Natural Language Analysis", are available by anonymous ftp from
  1039.    ftp.das.harvard.edu:/pub/shieber/pnla/. See the file README for the
  1040.    conditions under which the material is distributed. If you retrieve
  1041.    the files, please send an email message to the authors letting them
  1042.    know how you plan to use them. For further information, write to
  1043.    Fernando Pereira <pereira@research.att.com> or Stuart Shieber
  1044.    <shieber@das.harvard.edu>.
  1045.  
  1046. Parser:
  1047.    A parser for standard Prolog text written in C is available by
  1048.    anonymous ftp from
  1049.       trappist.elis.rug.ac.be:/pub/prolog/
  1050.    It consists of only three modules (tokenizer, parser, and display
  1051.    routine) and an interface module to integrate it with an existing
  1052.    Prolog system. It is completely deterministic and about 10 times
  1053.    faster than O'Keefe's public domain parser written in Prolog.
  1054.    For more information, write to Koen De Bosschere <kdb@elis.rug.ac.be>.
  1055.  
  1056. Partial Evaluation:
  1057.  
  1058.    Prolog code for the partial evaluator for the flowchart language
  1059.    described in Ch. 4 of "Partial Evaluation and Automatic Program
  1060.    Generation" by Jones, Gomard and Sestoft is available for anonymous
  1061.    ftp from 
  1062.       ftp.diku.dk:/pub/diku/dists/jones-book/ch4_pl.tar.Z
  1063.    All three Futamura projections are implemented. The code has been
  1064.    tested under SWI Prolog 1.5 and 1.7 and should hopefully port to other
  1065.    prologs without too many problems.  For more information, please
  1066.    contact Zerksis Umrigar <umrigar@cs.binghamton.edu>.
  1067.  
  1068. Pleuk Grammar Development System:
  1069.  
  1070.    Pleuk is intended to be a shell for grammar development, in that many
  1071.    different grammatical formalisms can be embedded within it.
  1072.    Grammatical formalisms that currently work with Pleuk include CFG (a
  1073.    simple context-free grammar system), HPSG-PL (a system for developing
  1074.    HPSG-style grammars, produced at Simon Fraser University, Canada, by
  1075.    Fred Popowich, Sandi Kodric and Carl Vogel), Mike (a simple
  1076.    graph-based unification system, enhanced with additional operations
  1077.    for the treatment of free word order proposed by Mike Reape in various
  1078.    publications), SLE (a graph-based formalism enhanced with arbitrary
  1079.    relations in the manner of Johnson & Rosner and Doerre & Eisele.
  1080.    Delayed evaluation is used to compute infinite relations.  This system
  1081.    has been used for the development of several HPSG-style grammars) and
  1082.    Term (a term-based unification grammar system, originally developed
  1083.    for the support of Unification Categorial Grammar of Zeevat, Klein and
  1084.    Calder). Sample grammars are provided for all of these formalisms.
  1085.    Work continues apace on other formalisms, including Bob Carpenter's
  1086.    Ale system for typed feature structures, and Veronica Dahl's Static
  1087.    Discontinuity Grammars.
  1088.  
  1089.    Pleuk requires SICStus prolog version 2.1#6 or later, plus a variety
  1090.    of ancillary programs available free of charge from many FTP servers.
  1091.    Pleuk is available via anonymous FTP from the University of Georgia
  1092.    Artificial Intelligence FTP library
  1093.       ai.uga.edu:/pub/natural.language/
  1094.    as the files pleuk.1.0.tar.Z, pleuk.PSmanuals.tar.Z, and pleuk.README.  
  1095.    Pleuk will also be available shortly from the Natural Language
  1096.    Software Registry, German Research Institute for Artificial
  1097.    Intelligence (DKFI), Saarbruecken.  For more information, send email
  1098.    to pleuk@cogsci.ed.ac.uk.
  1099.  
  1100. Prolog Repository:
  1101.    Established by Jocelyn Paine of Experimental Psychology, Oxford
  1102.    University in 1987. The current catalogue (January 1991) contains
  1103.    30 entries. For catalogue, queries and contributions contact POPX at: 
  1104.       popx%vax.ox.ac.uk@oxmail.ox.ac.uk (internet) or 
  1105.       popx@uk.ac.ox.vax (janet) 
  1106.  
  1107.    FTP access is available through the Imperial College archive at
  1108.       src.doc.ic.ac.uk:/packages/prolog-pd-software/  [146.169.2.10]
  1109.    This is actually a link to the directory
  1110.       /computing/programming/languages/prolog/pd-software/
  1111.       
  1112.    To access it, cd to either of the above directories via
  1113.    anonymous ftp. The file README gives a brief summary of the
  1114.    contents of the directory and CATALOGUE gives a (long!)
  1115.    description of each entry. Entries include the Logic Programming
  1116.    Tutor from Paine's book, the DEC-10 public-domain library, the
  1117.    Linger natural-language corrector, a simple object-oriented
  1118.    add-on for Prolog, graph utilities, among other things.
  1119.  
  1120.    Files in the archive are also available on MS-DOS floppies for a
  1121.    nominal fee to cover the cost of floppies, postage, and packing. 
  1122.  
  1123. Prolog to SQL Compiler:
  1124.    The Prolog to SQL Compiler translates database access requests,
  1125.    which consist of a projection term and a database goal, to the
  1126.    appropriate SQL query. The compiler is written in standard Edinburgh
  1127.    Prolog and has been ported to a number of Prologs. The code posted to
  1128.    comp.lang.prolog works in ECRC's SEPIA Prolog, but should be easily
  1129.    ported to other Prologs. A detailed tech report on the implementation
  1130.    is available by email from draxler@cis.uni-muenchen.de (include
  1131.    your full postal address). The compiler is copyright, but may be used
  1132.    free of charge for non-commercial purposes and redistributed provided
  1133.    the copyright notice is retained intact.
  1134.  
  1135. PSI:
  1136.    PSI is a handy system for the management and retrieval of your
  1137.    personal data, be it addresses, CD collections, or bibliographic
  1138.    references. It is intended for the non-commercial user. It may not be
  1139.    as full-fledged as some data-base systems, but has some features that
  1140.    you won't find in most commercial systems. Also, you may find it
  1141.    easier to set up and faster to use. PSI is useful for a broad range of
  1142.    data. Indexing with descriptors makes searching for the data you need
  1143.    fast, and the interface to other data-base formats (import and export)
  1144.    is quite powerful. PSI was written in LPA MacProlog and is a "genuine
  1145.    'double clickable' Mac application". PSI runs on all Macs with System
  1146.    6 or 7 in 1MB of main memory. As LPA MacProlog isn't yet 32-bit clean,
  1147.    PSI isn't either. Extensive documentation and some examples are
  1148.    included. PSI is available by anonymous ftp from
  1149.    sumex-aim.stanford.edu:/info-mac/app/ as the file psi-23.hqx. It
  1150.    was also available on a recent Nautilus CD-ROM and will be on the
  1151.    first Info-Mac CD-ROM.
  1152.  
  1153. Queens and Knights:
  1154.    Queens and Knights are favorite problems for Prolog programmers.
  1155.    A collection of several implementations is available by anonymous
  1156.    ftp from sics.se:/pub/muse/queensANDknights.tar.Z.uue
  1157.    Write to Roland Karlsson <roland@sics.se> for more information.
  1158.  
  1159. Rubik's Cube:
  1160.    Amzi! Inc., the creators of Cogent Prolog, have made sources to Cube Solver
  1161.    II available from their ftp site, ftp.std.com:/vendors/amzi/.  It is
  1162.    also available from the Prolog Repository at CMU, in
  1163.    ftp.cs.cmu.edu:/user/ai/lang/prolog/code/fun/rubik/.  This Prolog
  1164.    program solves Rubik's Cube.  The sources include a simple scrolling
  1165.    interface that should work in any Edinburgh standard Prolog.  Also
  1166.    included is a ready-made executable for 386 and 486 PCs; it was
  1167.    implemented using Cogent Prolog.  For more information, write to Amzi!
  1168.    Inc. (formerly Amziod) <amzi@world.std.com>, 40 Samuel Prescott Dr.,
  1169.    Stow, MA 01775, Tel: 508-897-7332. Fax: 508-897-2784.
  1170.  
  1171. SEL:
  1172.    SEL is a declarative set processing language. Its main features are
  1173.    subset and equational program clauses, pattern matching over sets,
  1174.    support for efficient iteration and point-wise/incremental computation
  1175.    over sets, the ability to define transitive closures through circular
  1176.    constraints, meta-programming and simple higher-order programming, and
  1177.    a modest user-interface including tracing. The language seems
  1178.    well-suited to a number of problems in graph theory, program analysis,
  1179.    and discrete mathematics. The SEL compiler is written in Quintus
  1180.    Prolog and the run-time system is written in C. It generates WAM-like
  1181.    code, extended to deal with set-matching, memoization, and the novel
  1182.    control structure of the language. SEL is available by anonymous FTP
  1183.    from ftp.cs.buffalo.edu:/users/bharat/SEL2/.  The FTP release comes with a
  1184.    user manual, bibliography of papers (including .dvi files), several
  1185.    sample programs, and source code. For further information, write to
  1186.    Bharat Jayaraman <bharat@cs.buffalo.edu>.
  1187.  
  1188. A public-domain WAM emulator, written in C++ by Herve Touati, is
  1189. available by anonymous FTP from gatekeeper.dec.com:/pub/plan/prolog/ucb/.
  1190.  
  1191. ----------------------------------------------------------------
  1192. Subject: [1-6] Free Object-Oriented Systems for Prolog
  1193.  
  1194. OL(P), Object Layer for Prolog, is an object-oriented extension to
  1195. Prolog.  It provides an object-oriented structuring and reuse
  1196. mechanism for Prolog in a manner that preserves performance and
  1197. semantics. The object-oriented layer is compiled into Prolog without
  1198. introducing any side-effects.  OL(P) takes the view of objects as
  1199. collections of predicates (called methods).  To Prolog, OL(P) 1.1 adds
  1200. objects with methods, data encapsulation, instances, and multiple
  1201. inheritance. Object methods can access Prolog predicates and vice
  1202. versa. The OL(P) incremental compiler translates OL(P) programs to
  1203. Prolog programs that don't need runtime interpretation (e.g., no
  1204. search is needed for inheritance).  OL(P) 1.1 comes with prepared
  1205. installation for SICStus Prolog and QUINTUS Prolog (both on UNIX),
  1206. documentation, simple built-in project management, some libraries,
  1207. and example programs. The source is included, so you can port OL(P)
  1208. to different platforms, different Prolog systems, and different
  1209. logic programming languages. OL(P) is available by anonymous ftp
  1210. from parcftp.xerox.com:/ftp/pub/ol/ [13.1.64.94]. Written by Markus
  1211. P.J. Fromherz <fromherz@parc.xerox.com>. 
  1212.  
  1213. LogTalk is a free object oriented extension to the Prolog programming
  1214. language. It is based on a reflexive architecture intended to provide
  1215. an open system, easily tailored to user needs. It implements simple
  1216. inheritance and a delegation mechanism. Logtalk enables users to
  1217. define new types of slots, each one with its own semantics, that can
  1218. be reused by any object. It includes features for event-based
  1219. programming. This enables the creation of elegant solutions to
  1220. represent and maintain relations that restrict the internal state of
  1221. participating objects. Logtalk (and more information about it) is
  1222. available using the URL
  1223.    http://cygnus.ci.uc.pt/logtalk/logtalk.html
  1224. For more information, write to the author Paulo Moura <pmoura@cygnus.uc.pt>. 
  1225.  
  1226. See Common ESP (CESP) in [2-1] and BeBOP in [2-3].
  1227.  
  1228. ----------------------------------------------------------------
  1229. Subject: [1-7] Commercial Object-Oriented Systems for Prolog
  1230.  
  1231. LAP is an object-oriented system by Elsa. For more information, write
  1232. to Elsa Software, La Grange Dame Rose, 6 ave du Marechal Juin, 92366
  1233. Meudon-La-Foret Cedex, France, call +33 (1) 46 30 24 55, fax +33 (1)
  1234. 46 30 55 26, or send email to elsa!lap@uunet.uu.net.
  1235.  
  1236. SPIRAL is an object oriented system by CRIL for Sun3 and Sun4 under
  1237. Unix. For more information, write to CRIL, Conception et Realisation,
  1238. Industriel de Logiciel, 146 bd de Valmy 92707, Colombes Cedex, France,
  1239. call +33 1 47 69 53 67, or fax +33 1 47 69 53 99.
  1240.  
  1241. See also LPA Prolog ++ in [2-2].
  1242.  
  1243. ----------------------------------------------------------------
  1244. Subject: [1-8]  The Prolog 1000 Database
  1245.  
  1246. The Prolog 1000 is a database of real Prolog applications being
  1247. assembled in conjunction with the Association for Logic Programming
  1248. (ALP) and PVG. The aim is to demonstrate how Prolog is being used in
  1249. the real world and it already contains over 500 programs with well
  1250. over 2 million lines of code. The database is available for research
  1251. use in SGML format from the Imperial College archive
  1252.    src.doc.ic.ac.uk:/packages/prolog-progs-db/prolog1000.v1.gz
  1253. If you have or know about a program that might qualify for inclusion,
  1254. send an email message to Al Roth (alroth@cix.compulink.co.uk) for an
  1255. electronic entry form which only takes a few minutes to complete. Or
  1256. write to Prolog 1000, PO Box 137, Blackpool, Lancashire, FY2 0XY,
  1257. U.K., Fax: +44 253 53811 Telephone: +44 253 58081. (Floppy disks for
  1258. PC or Mac in text form are also welcome, and paper entries may also be
  1259. sent). Queries may also be addressed to: Chris Moss
  1260. (cdsm@doc.ic.ac.uk), Leon Sterling (leon@alpha.ces.cwru.edu).
  1261.  
  1262. ----------------------------------------------------------------
  1263. Subject: [1-9] X-Windows Interfaces
  1264.  
  1265. PI:
  1266.    PI is an interface between Prolog applications and the X Window System
  1267.    that aims to be independent from the Prolog engine, provided that it
  1268.    has a Quintus-style foreign function interface (such as SICStus, YAP).
  1269.    It is mostly written in Prolog and is divided in two libraries: (1)
  1270.    Edipo, a low-level interface to the Xlib functions, and (2) Ytoolkit,
  1271.    a high-level user interface toolkit that allows you to create and
  1272.    manage graphical objects, define new classes of objects, and handle
  1273.    user interaction. PI is available by anonymous ftp from
  1274.    ftp.ncc.up.pt:/pub/prolog/pi_1.2.tar.gz and includes documentation
  1275.    and some demos. Also see ytoolkit.tar.Z. PI has been tested in
  1276.    Quintus Prolog 3.1.1 and SICStus 2.1 #8. Send questions, comments,
  1277.    and bug reports to Ze' Paulo Leal, Universidade de Porto, Portugal,
  1278.    <zp@ncc.up.pt>. 
  1279.  
  1280. XWIP: 
  1281.    ftp.x.org:/contrib/xwip.tar.Z  (formerly export.lcs.mit.edu)
  1282.    ftp.uu.net:/X/contrib/xwip.tar.Z
  1283.  
  1284.    XWIP is an X Windows interface for PROLOG.
  1285.  
  1286. XPCE:
  1287.    XPCE is an object-oriented X-window interface toolkit for symbolic
  1288.    programming languages (Prolog and Lisp), offering a high level of
  1289.    abstraction for communication with X11, Unix processes, Unix
  1290.    networking facilities (sockets) and Unix files. XPCE's built-in
  1291.    classes (about 150) are mostly written in C.  The XPCE/Prolog
  1292.    interface allows the user to create and manipulate instances of these
  1293.    classes.  The user can also create new XPCE classes from Prolog.
  1294.    XPCE's window related classes provide various styles of menus,
  1295.    primitive graphical objects, compound graphical objects and Emacs
  1296.    oriented programmable text manipulation windows. The distribution
  1297.    contains several demo programs, including a diagram drawing tool
  1298.    (PceDraw), an animation demo, an Epoch-like editor, a graphical
  1299.    interface to Unix ispell, and an online hyper-text manual for XPCE
  1300.    itself.  A demo version of XPCE/SWI-Prolog for Linux may be obtained
  1301.    by anonymous ftp from swi.psy.uva.nl:/pub/xpce/linux/ [145.18.114.17].
  1302.    The non-demo versions (for SWI-Prolog, SICStus Prolog, Lucid Common
  1303.    Lisp and LispWorks) require filling out a license and paying a fee
  1304.    (see the file pub/xpce/INFO).  To be added to the mailing list
  1305.    xpce@swi.psy.uva.nl send mail to xpce-request@swi.psy.uva.nl. Send
  1306.    bugs to xpce-bugs@swi.psy.uva.nl. 
  1307.  
  1308.    ProWindows 3 is a commercial version of XPCE for Quintus Prolog. 
  1309.    For further information, write to Simon Heywood, AI International Ltd, 
  1310.    The Chapel, Park View House, 1 Park View Road, Berkhamsted, Herts, 
  1311.    HP4 3EY, phone +44-(0)442-876722 (Sales Hotline +44 (0)442 876448),
  1312.    fax +44-(0)442-877997, or send email to sheywood@aiil.co.uk.
  1313.  
  1314. ProTcl:
  1315.  
  1316.    ProTcl (pronounced pro-tickle) is a Prolog interface to Tcl/Tk. It has
  1317.    a very simple and lightweight interface, which allows one to evaluate
  1318.    Tcl expressions from Prolog. It defines the tcl_eval/1,2 predicate
  1319.    which passes the Tcl expressions to the Tcl interpreter. It has been
  1320.    tested on ECLiPSe and SICStus, on a Sparc 10. ProTcl is available
  1321.    by anonymous ftp from 
  1322.       ftp.ecrc.de:/pub/eclipse/progs/protcl/
  1323.    The ProTCL home page is
  1324.       http://www.ecrc.de/eclipse/html/protcl.html
  1325.    Send comments and suggestions to Micha Meier <micha@ecrc.de>.
  1326.  
  1327. ----------------------------------------------------------------
  1328. Subject: [1-10] Is there a straight-forward way of compiling Prolog to C?
  1329.  
  1330. Two methods of compiling Prolog to C have been reported in the
  1331. literature:
  1332.    -  WAM-based approaches
  1333.    -  Continuation-based approaches
  1334.  
  1335. The WAM-based approach compiles Prolog programs into a sequence of C
  1336. function or macro calls to WAM instructions. A brief description of
  1337. this method and some results are given in the paper:
  1338.  
  1339.    Michael R. Levy and R. Nigel Horspool, "Translating Prolog to C: a
  1340.    WAM-based Approach", in Proceedings of the Second Compulog Network
  1341.    Area Meeting on Programming Languages, and the Workshop on Logic
  1342.    Languages in Pisa, May 1993. (Available by anonymous ftp from 
  1343.    csr.uvic.ca:/pub/mlevy/.)
  1344.  
  1345. The best tutorial for writing a WAM-based compiler or WAM emulator is
  1346. Hassan Ait-Kaci's book, "Warren's Abstract Machine: A Tutorial
  1347. Reconstruction" (see [1-3] above). 
  1348.  
  1349. A "quick-and-dirty" method is to implement the WAM functions as described
  1350. in Ait-Kaci's tutorial, to label each call with a C case label, and then throw
  1351. a giant switch(P) statement around the entire sequence of calls, where P
  1352. is the WAM program counter.  On return from any instruction that modifies
  1353. P, a "goto Start" must be inserted. (This method was posted by Rob
  1354. Scott, <rbs@aisb.ed.ac.uk>, based on the JANUS papers by Saraswat.)
  1355.  
  1356. This strategy will work, but does not allow you to modularize your
  1357. prolog program. Predicates in prolog seem to generate 8 to 15 WAM
  1358. instructions per clause, so (assuming very roughly a clause per
  1359. line)you might expect your 1,000 line program to expand to a switch
  1360. statement containing up to 15,000 lines. Some C compilers can't handle
  1361. such a big switch statement.
  1362.  
  1363. Levy and Horspool solve this problem by compiling each Prolog
  1364. predicate to a seperate C function. A dispatch loop mechanism is used
  1365. to call the C functions. C switch statements are used only inside the
  1366. functions.  A predicate that calls another predicate sets P to contain
  1367. the address of the C function that implements the called predicate,
  1368. (and sets another register called W in their scheme) and then returns
  1369. to the dispatcher instead of calling the predicate. This bypasses the
  1370. C run-time stack.  This lets one exploit WAM optimizations (like LCO)
  1371. and yet retain the ability to create many modules. Their system
  1372. performs well when compared with byte-code compilers, but translated
  1373. code runs slower than code produced by native code compilers.  On the
  1374. other hand, it outputs portable ANSI C that can run on any machine
  1375. with a C compiler.
  1376.  
  1377. Other approaches to translating to C use continuations. The idea here
  1378. is to translate every Prolog predicate to a C function that has
  1379. an additional argument, namely a continuation function. If the function
  1380. fails, it simply returns, but if it succeeds, it executes the continuation.
  1381. When the function regains control from the continuation, it can then try
  1382. to generate a new solution. Here are two references
  1383. that describe systems built using continuations:
  1384.  
  1385.    J. L. Weiner and S. Ramakrishnan, "A Piggy-Back Compiler for Prolog",
  1386.    in Proceedings of SIGPLAN T88 Conference on Programming Language
  1387.    Design and Implementation, Atlanta, Georgia, 1988, pages 288-296.
  1388.  
  1389.    J. L. Boyd and G. M. Karam, "Prolog in C", Carleton University,
  1390.    Ottawa, 1988. 
  1391.  
  1392. Oliver Ridoux <Olivier.Ridoux@irisa.fr> reports that a
  1393. continuation-based approach works well when used to compile
  1394. LambdaProlog. His scheme translates every predicate into a function
  1395. that uses and modifies the success and failure continuations, with
  1396. recursion in the predicate becoming iteration in the continuation
  1397. passing mechanism. Inside the function one uses whichever intermediate
  1398. machine one fancies. Clauses within the function can be either the
  1399. branches of a switch statement or simply labelled when using a C
  1400. system that can store labels. This approach can still generate
  1401. monstrous C programs that blow up the C compiler, but the C programs
  1402. aren't as large as those generated by a one module to a function
  1403. scheme. Approaches that replace recursion in a predicate with
  1404. recursion in a function tend to overload the C stack and lead to
  1405. sloppy memory management.  Two technical reports describing Ridoux's
  1406. approach are available by anonymous ftp from 
  1407.    ftp.irisa.fr:/
  1408. as pm/*.ps.Z and mailv06/*.ps.Z.
  1409.  
  1410. Michael Covington <mcovingt@ai.uga.edu> points out that a very simple
  1411. approach is to write a Prolog interpreter in C, then store the Prolog
  1412. program in that program's data! This will, of course, execute slowly.
  1413. One might imagine all sorts of other schemes. For example, a query
  1414. could be treated as a stack of "suspensions" (with the left-most goal
  1415. on top).  The top suspension is executed by selecting the appropriate
  1416. clause (possibly using indexing), and then, if necessary, pushing new
  1417. suspensions on the stack (the body of the clause whose head unified
  1418. with the current suspension).
  1419.  
  1420. Another question to ask is this: Is there any reason why you should want to
  1421. convert Prolog to C at all? George Saab of Quintus Corp. pointed out that,
  1422. with Quintus Prolog, you can create a standard .o file from a Prolog file,
  1423. which can then be linked with your other .o files to create an executable.
  1424. What's more, your Prolog code can be called from C code and vice versa.
  1425.  
  1426. On ther hand, the advantage of distributing "Prolog objects" as C rather than
  1427. .o files is portability.
  1428.  
  1429. M. Gaspari  and G. Attardi describe an approach to translating Prolog to C
  1430. based on the provision of a common runtime architecture. This is
  1431. described in 
  1432.  
  1433.    G. Attardi and M. Gaspari, "Multilanguage Interoperability", in
  1434.    Proceedings of The 3rd International Symposium, PLILP 91, 
  1435.    Springer Verlag, LNCS #528, 1991.
  1436.  
  1437. [Note: Thanks to Michael Levy, Department of Computer Science,
  1438. University of Victoria, <mlevy@csr.uvic.ca>, for writing this section.]
  1439.  
  1440. ----------------------------------------------------------------
  1441. Subject: [1-11] WAM emulators and tracers
  1442.  
  1443. Johan Bevemyr's Luther-based WAM-tracer is available by anonymous ftp
  1444. from Uppsala University in Sweden. It includes a simple compiler from
  1445. Prolog to WAM code and a low-level WAM code tracer written in
  1446. emacs-lisp.  The tracer splits the screen into regions to show
  1447. data-areas, registers, and so on. You can then step through running
  1448. the code. The tracer is available by anonymous ftp from
  1449.    ftp.csd.uu.se:/pub/WAM-tracer/luther.tar.Z
  1450. Documentation on the tracer is included in the distribution.  The
  1451. emulator is in the /pub/WAM-emulator/ directory (and runs in SICStus
  1452. Prolog).  For more information, contact Johan Bevemyr
  1453. <bevemyr@csd.uu.se> or <bevemyr@sics.se>.
  1454.  
  1455. ----------------------------------------------------------------
  1456. Subject: [1-12] What is the Basic Andorra Model and AKL?
  1457.  
  1458. The Basic Andorra Model is a way to execute definite clause programs
  1459. that allows dependent and-parallelism to be exploited transparently.
  1460. It also supports nice programming techniques for search programs.  The
  1461. idea is to first reduce all goals that match at most one clause.  When
  1462. no such goal exists, any goal (e.g., the left-most) may be chosen.
  1463. The BAM was proposed by David H. D. Warren, and his group at Bristol
  1464. has developed an AND-OR parallel implementation called Andorra-I,
  1465. which also supports full Prolog.  See, for example, 
  1466.  
  1467.    Seif Haridi and Per Brand, "Andorra Prolog, an integration of Prolog
  1468.    and committed choice languages", in Proceedings of the FGCS 1988,
  1469.    ICOT, Tokyo, 1988.
  1470.  
  1471.    Vitor Santos Costa, David H. D. Warren, and Rong Yang, "Two papers on
  1472.    the Andorra-I engine and preprocessor", in Proceedings of the 8th
  1473.    ICLP. MIT Press, 1991.
  1474.  
  1475.    Steve Gregory and Rong Yang, "Parallel Constraint Solving in
  1476.    Andorra-I", in Proceedings of FGCS'92. ICOT, Tokyo, 1992.
  1477.  
  1478. AKL (Andorra Kernel Language) is a concurrent constraint programming
  1479. language that supports both Prolog-style programming and committed
  1480. choice programming.  Its control of don't-know nondeterminism is based
  1481. on the Andorra model, which has been generalised to also deal with
  1482. nondeterminism encapsulated in guards and aggregates (such as bagof)
  1483. in a concurrent setting. See, for example,
  1484.  
  1485.    Sverker Janson and Seif Haridi, "Programming Paradigms of the Andorra
  1486.    Kernel Language", in Proceedings of ILPS'91. MIT Press, 1991.
  1487.  
  1488.    Torkel Franzen, "Logical Aspects of the Andorra Kernel Language", SICS
  1489.    Research Report R91:12, Swedish Institute of Computer Science, 1991.
  1490.  
  1491.    Torkel Franzen, Seif Haridi, and Sverker Janson, "An Overview of the
  1492.    Andorra Kernel Language", In LNAI (LNCS) 596, Springer-Verlag, 1992.
  1493.  
  1494.    Sverker Janson, Johan Montelius, and Seif Haridi, "Ports for Objects
  1495.    in Concurrent Logic Programs", in Research Directions in Concurrent
  1496.    Object-Oriented Programming, MIT Press, 1993 (forthcoming).
  1497.  
  1498. The above papers on AKL are available by anonymous ftp from 
  1499.    sics.se:/pub/ccp/papers/
  1500. An (as yet non-released) prototype implementation of AKL is available
  1501. for research purposes (contact sverker@sics.se). 
  1502.  
  1503. ----------------------------------------------------------------
  1504. Subject: [1-13] What is Constraint Logic Programming?
  1505.  
  1506. Constraint Logic Programming (CLP) augments Prolog by adding
  1507. constraints to the clauses. The CLP implementation solves goals in the
  1508. same manner as Prolog, but also merges the constraints associated with
  1509. each rule. If the merge succeeds, the successful goal and the
  1510. corresponding constraints are returned. If, however, the constraints
  1511. are mutually exclusive, the solution fails.
  1512.  
  1513. ----------------------------------------------------------------
  1514. Subject: [1-14] How do you write portable programs in Prolog?
  1515.  
  1516. The de-facto standard syntax for Prolog is known as the Edinburgh
  1517. standard. It is based on the syntax of DEC-10 Prolog, an early Prolog
  1518. implementation developed at the University of Edinburgh.
  1519. See question [1-1] for information on the draft ISO standard for
  1520. Prolog.
  1521.  
  1522. Unfortunately, not every Prolog implementation is Edinburgh compatible.
  1523. There also isn't any notion of read-conditionalization, like #+ and #-
  1524. *features* in Common Lisp. 
  1525.  
  1526. One option is to use the C preprocessor on Prolog code before loading
  1527. it into Prolog.  Or you could use term-expansion to roll your own
  1528. conditional compilation system. Term expanding a clause to []
  1529. effectively discards it.
  1530.  
  1531. Another possibility is to conditionalize the execution instead of the
  1532. compilation. The user would have to uncomment a line like one of the
  1533. following, 
  1534.    % this_is(quintus).
  1535.    % this_is(sicstus).    
  1536. and the code would have to test for the proper literal
  1537.    a :- this_is(quintus), blah, blah, blah.
  1538.    a :- this_is(sicstus), blah, blah, blah.
  1539. at a slight cost in efficiency. (If you first feed the program through
  1540. a general partial evaluator, you'll get an equivalent program without
  1541. the inefficiency. Partial evaluation is in some sense a more powerful
  1542. and semantically cleaner form of source preprocessing. Given
  1543.         <head> :- <condition>, <rest of body>.
  1544. If <condition> is always false, we can safely drop the clause. If
  1545. <condition> is always true, we can drop it from any clauses that
  1546. include it.) 
  1547.  
  1548. Another possibility is Richard O'Keefe's environment package for
  1549. Prolog. It was posted to comp.lang.prolog on 1-SEP-94; a copy can be
  1550. found in
  1551.    ftp.cs.cmu.edu:/user/ai/lang/prolog/code/ext/env/env.pl
  1552.  
  1553. ----------------------------------------------------------------
  1554. Subject: [1-15] World-Wide Web (WWW) Resources
  1555.  
  1556. The World Wide Web (WWW) is a hypermedia document that spans the
  1557. Internet.  It uses the http (HyperText Transfer Protocol) for the
  1558. light-weight exchange of files over the Internet.  NCSA Mosaic is a
  1559. World Wide Web browser developed at the National Center for
  1560. Supercomputing Applications (NCSA). 
  1561.  
  1562. Mosaic's popularity derives, in part, from its ability to communicate
  1563. using more traditional Internet protocols like FTP, Gopher, WAIS, and
  1564. NNTP, in addition to http. Mosaic can display text, hypertext links,
  1565. and inlined graphics directly. When Mosaic encounters a file type it
  1566. can't handle internally, such as Postscript documents, mpeg movies,
  1567. sound files, and JPEG images, it uses an external viewer (or player)
  1568. like Ghostscript to handle the file. Mosaic also includes facilities
  1569. for exploring the Internet. In other words, Mosaic is an multimedia
  1570. interface to the Internet.
  1571.  
  1572. The hypertext documents viewed with Mosaic are written in HTML
  1573. (HyperText Markup Language), which is a subset of SGML (Standard
  1574. Generalized Markup Language).  All that is needed is just a few more
  1575. improvements, such as the ability to format tables and mathematics,
  1576. and a WYSIWYG editor, for HTML to greatly facilitate electronic
  1577. journals and other publications.
  1578.  
  1579. NCSA Mosaic for the X Window System is available by anonymous ftp from  
  1580.    ftp.ncsa.uiuc.edu:/Mosaic/
  1581. as source code and binaries for Sun, SGI, IBM RS/6000, DEC Alpha OSF/1, DEC
  1582. Ultrix, and HP-UX. Questions about NCSA Mosaic should be directed to 
  1583. mosaic-x@ncsa.uiuc.edu (X-Windows version), mosaic-mac@ncsa.uiuc.edu
  1584. (Macintosh), and mosaic-win@ncsa.uiuc.edu (Microsoft Windows).
  1585.  
  1586. An automatically generated HTML version of the PRG is accessible by
  1587. WWW as part of the AI-related FAQs Mosaic page. The URL for this
  1588. resource is
  1589.    http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs/top.html
  1590. The direct URL for the PRG is
  1591.    http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs/lang/prolog/prg/top.html
  1592.  
  1593. The remainder of this section lists WWW resources of interest to Prolog
  1594. and logic programming researchers, students, and practitioners.
  1595.  
  1596. Constraints:
  1597.  
  1598.    The newsgroup comp.constraints has an ftp archive and WWW home page:
  1599.       ftp.cs.city.ac.uk:/pub/constraints
  1600.       http://web.cs.city.ac.uk/archive/constraints/constraints.html
  1601.  
  1602. Logic Programming:
  1603.  
  1604.     http://www.comlab.ox.ac.uk/archive/logic-prog.html
  1605.     Jonathan Bowen <Jonathan.Bowen@comlab.ox.ac.uk>
  1606.  
  1607.     http://www.watson.ibm.com/watson/logicpgm/
  1608.     [Logic Programming at IBM Research]
  1609.     Peter Reintjes <reintjes@watson.ibm.com>
  1610.  
  1611.    http://ps-www.dfki.uni-sb.de/~vanroy/impltalk.html
  1612.    ["Issues in Implementing Logic Languages" -- overview of
  1613.     state-of-art in Prolog implementation.] 
  1614.    Peter Van Roy <vanroy@dfki.uni-sb.de>
  1615.  
  1616.    http://www.informatik.uni-trier.de/~ley/db/index.html
  1617.    [Table of Contents from Conferences and Journals in the fields
  1618.     of database systems and logic programming.]
  1619.    Michael Ley <ley@nigra.Uni-Trier.DE>
  1620.  
  1621. Abstract Interpretation for LP Bibliography:
  1622.  
  1623.    http://www.labri.u-bordeaux.fr/~corsini/Public/Reports/abint-biblio.ps
  1624.    200 entries so far. 
  1625.    Marc-Michel Corsini <corsini@labri.u-bordeaux.fr>
  1626.  
  1627. ----------------------------------------------------------------
  1628. Subject: [1-16] Prolog Job Postings
  1629.  
  1630. The PROLOG-JOBS mailing list exists to help programmers find Prolog
  1631. programming positions, and to help companies with Prolog programming
  1632. positions find capable Prolog programmers. (Prolog here means Prolog-like
  1633. languages, including logic programming languages.)
  1634.  
  1635. Material appropriate for the list includes Prolog job announcements and
  1636. should be sent to ai+prolog-jobs@cs.cmu.edu. Resumes should NOT be sent to
  1637. the list. 
  1638.  
  1639. [Note: The 'ai+' part of the mailing list name is used for directing
  1640. submissions to the appropriate mail-server. The list is NOT restricted
  1641. to AI-related Prolog jobs -- all Prolog job announcements are welcome.]
  1642.  
  1643. As a matter of policy, the contents of this mailing list is
  1644. considered confidential and will not be disclosed to anybody.
  1645.  
  1646. To subscribe, send a message to ai+query@cs.cmu.edu with
  1647.    subscribe prolog-jobs <First Name> <Last Name>, <Affiliation/Organization>
  1648. in the message body.
  1649.  
  1650. (If your mailer objects to the "+", send subscription requests to
  1651. "ai+query"@cs.cmu.edu, job announcements to "ai+prolog-jobs"@cs.cmu.edu, 
  1652. etc.) 
  1653.  
  1654. For help on using the query server, send mail to ai+query@cs.cmu.edu with
  1655.    help
  1656. in the message body.
  1657.  
  1658. Job postings sent to the list are automatically archived in
  1659.    ftp.cs.cmu.edu:/user/ai/jobs/prolog/
  1660.  
  1661. If you have any other questions, please send them to ai+@cs.cmu.edu
  1662.  
  1663. ----------------------------------------------------------------
  1664. Subject: [1-17] Is Prolog really used in Windows NT?
  1665.  
  1666. Yes. 
  1667.  
  1668. For more information, see
  1669.  
  1670.    Dennis Merritt, "Extending C with Prolog", Dr Dobb's Journal, 
  1671.    August 1994, pages 78-82 and 102, 104. 
  1672.  
  1673.    D. Hovel, "Small Prolog and Windows NT Networking", Dr Dobb's Journal,
  1674.    August 1994, page 80.
  1675.  
  1676. ----------------------------------------------------------------
  1677. Subject: [1-18] History of Prolog
  1678.  
  1679. Van Roy, Peter, "1983-1993: The Wonder Years of Sequential Prolog
  1680. Implementation," DEC Paris Research Laboratory, Research Report 36,
  1681. December 1993.
  1682.  
  1683. ----------------------------------------------------------------
  1684. Subject: [1-A] Acknowledgements
  1685.  
  1686. The original version of this guide (Version 0.6, Dec 11, 1991) was
  1687. compiled by Dag Wahlberg, Uppsala University, Sweden
  1688. <dagwag@csd.uu.se>, and published in the 5(1) issue of the ALP
  1689. Newsletter (February 1992).  Other people who helped with the
  1690. compilation include Chris Moss <cdsm@doc.ic.ac.uk>, Mats Carlsson,
  1691. SICS <matsc@sics.se>, Michael A. Covington <mcovingt@ai.uga.edu>,
  1692. Jocelyn Paine <popx@vax.ox.ac.uk>, Per G. Bilse, PDC <pdev@pdc.dk>,
  1693. David Cohen, BIM Systems Inc <dc@bim.com>, Mark Korsloot
  1694. <mark@logic.et.tudelft.nl>, and David W. Talmage
  1695. <talmage@luvthang.aquin.ori-cal.com>.
  1696.  
  1697. Thanks also to Jamie Andrews <jamie@cs.sfu.ca>.
  1698.  
  1699. ----------------------------------------------------------------
  1700. ;;; *EOF*
  1701.