Jump to content

Prolog: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
mNo edit summary
Line 6: Line 6:


==History==
==History==
[[Image:AlainColmerauer.jpg|right|thumb|[http://alain.colmerauer.free.fr/ Alain Colmerauer] is the co-inventor of Prolog and the man behind the development of Prolog II, II+, III & IV]]
Invented in Marseilles, France in 1972 by Alain Colmerauer and Philippe Rousse, the system is a descendant of a natural language machine translation system called '''Q-systems''' that Colmerauer started developing in 1968, but prior and parallel to that he alongside Rousse and others connected to the birth of Prolog such as Jean Trudel and Robert Pasero had participated in the "Traduction Automatique de l’Université de Montréal" project in Canada. Initially implemented on an [[IBM]] System/360 using Wirth's [[ALGOL W]] and PL/360.
Invented in Marseilles, France in 1972 by Alain Colmerauer and Philippe Rousse, the system is a descendant of a natural language machine translation system called '''Q-systems''' that Colmerauer started developing in 1968, but prior and parallel to that he alongside Rousse and others connected to the birth of Prolog such as Jean Trudel and Robert Pasero had participated in the "Traduction Automatique de l’Université de Montréal" project in Canada. Initially implemented on an [[IBM]] System/360 using Wirth's [[ALGOL W]] and PL/360.


==OS/2 implementations==
==Implementations==
===OS/2===
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
Commercial:
Commercial:
Line 28: Line 30:
</div>
</div>


===Prolog libraries===
;Prolog libraries
* [http://prolog-commons.org/PrologCommons.html/PrologCommons.html The Prolog Commons] - Not all library functions are germane to OS/2 - Open source
* [http://prolog-commons.org/PrologCommons.html/PrologCommons.html The Prolog Commons] - Not all library functions are germane to OS/2 - Open source


==DOS Implementations==
===DOS===
[[Image:AlainColmerauer.jpg|right|thumb|[http://alain.colmerauer.free.fr/ Alain Colmerauer] is the co-inventor of Prolog and the man behind the development of Prolog II, II+, III & IV]]
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
* [[ALS Prolog]] - Was Commercial/now open source
*[[ALS Prolog]] - Was Commercial/now open source
*Amzi! Prolog+Logic Server - Commercial
*Amzi! Prolog+Logic Server - Commercial
* [[Aquarius Prolog]] - Open/Closed source
*[[Aquarius Prolog]] - Open/Closed source
* [[Arity Prolog]] - Commercial
*[[Arity Prolog]] - Commercial
* [[Az-Prolog]] - Commercial
*[[Az-Prolog]] - Commercial
*Beta-Prolog - Open Source
*Beta-Prolog - Open Source
*BinProlog - Open source commercial software
*BinProlog - Open source commercial software
* [https://github.com/Johnicholas/Hello-Github/tree/master/prolog-in-hundreds-of-loc/Boizumault Boizumault Prolog] - Open Source
*[https://github.com/Johnicholas/Hello-Github/tree/master/prolog-in-hundreds-of-loc/Boizumault Boizumault Prolog] - Open Source
*ESL Prolog-2 - Commercial
*ESL Prolog-2 - Commercial
*Cogent Prolog Compiler - Commercial  
*Cogent Prolog Compiler - Commercial  
Line 64: Line 65:
</div>
</div>


==Win-OS/2 Implementations==
===Win-OS/2===
* [[ALS Prolog]] - former commercial/now open source
*[[ALS Prolog]] - former commercial/now open source
*Amzi! Logic Explorer - Freeware
*Amzi! Logic Explorer - Freeware
*Amzi! Prolog+Logic Server - Commercial
*Amzi! Prolog+Logic Server - Commercial
Line 74: Line 75:
*[[Visual Prolog]] - Commercial
*[[Visual Prolog]] - Commercial


==Java Implementations==
===Java===
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
Commercial:
Commercial:
Line 99: Line 100:
* [https://github.com/espakm/prolog4j Prolog4J] - Allows Java programs to use native Prolog engines - Open Source
* [https://github.com/espakm/prolog4j Prolog4J] - Allows Java programs to use native Prolog engines - Open Source


==Implementations in JavaScript==
===JavaScript===
* [http://ioctl.org/logic/prolog1 Prolog in JavaScript] - Note sub-set, split into a few pages - Open Source
* [http://ioctl.org/logic/prolog1 Prolog in JavaScript] - Note sub-set, split into a few pages - Open Source
* [http://yieldprolog.sourceforge.net/ Yield Prolog] - Sub-set - Open Source
* [http://yieldprolog.sourceforge.net/ Yield Prolog] - Sub-set - Open Source
Line 108: Line 109:
*Patrice Boizumault: [http://press.princeton.edu/titles/5264.html The Implementation of Prolog]- Translated by Ara M. Djamboulian and Jamal Fattouh - 1993/2014, ISBN 0-691-60939-X
*Patrice Boizumault: [http://press.princeton.edu/titles/5264.html The Implementation of Prolog]- Translated by Ara M. Djamboulian and Jamal Fattouh - 1993/2014, ISBN 0-691-60939-X
* Fernando C. N. Pereira; Stuart M. Shieber: [http://www.mtome.com/Publications/PNLA/prolog-digital.pdf Prolog and Natural-Language Analysis]
* Fernando C. N. Pereira; Stuart M. Shieber: [http://www.mtome.com/Publications/PNLA/prolog-digital.pdf Prolog and Natural-Language Analysis]
;Introductionary material
*Michael A. Covington; Donald Nute; André Vellino: ''Prolog Programming in Depth'' (Second edition) - Prentice-Hall 1997, ISBN 0-13-138645-X


;Papers
;Papers

Revision as of 20:32, 2 March 2020

Gottlob Frege (1848 ~ 1925)
Friedrich Ludwig Gottlob Frege invented predicate logic on which Prolog is based

Declarative logic programming language developed in France in the latter half of the 1960s and early 1970s, name is a shortening of "PROgrammation en LOGique" or "Programming in Logic". Unique syntax gives the impression that it is difficult to learn but in actuality it is not more of an effort to learn it any of the classic languages, but programmers used to procedural languages sometimes difficulty getting their heads around the different programming paradigms Prolog has to offer than rank beginner do.

Derivatives of Prolog include primarily constraint logic programming languages such as Prolog IV and ECLiPSE but also hybrids such as the strongly typed Mercury and Visual Prolog and even more alien systems such as Erlang.

History

Alain Colmerauer is the co-inventor of Prolog and the man behind the development of Prolog II, II+, III & IV

Invented in Marseilles, France in 1972 by Alain Colmerauer and Philippe Rousse, the system is a descendant of a natural language machine translation system called Q-systems that Colmerauer started developing in 1968, but prior and parallel to that he alongside Rousse and others connected to the birth of Prolog such as Jean Trudel and Robert Pasero had participated in the "Traduction Automatique de l’Université de Montréal" project in Canada. Initially implemented on an IBM System/360 using Wirth's ALGOL W and PL/360.

Implementations

OS/2

Commercial:

Open Source:

Prolog libraries

DOS

  • ALS Prolog - Was Commercial/now open source
  • Amzi! Prolog+Logic Server - Commercial
  • Aquarius Prolog - Open/Closed source
  • Arity Prolog - Commercial
  • Az-Prolog - Commercial
  • Beta-Prolog - Open Source
  • BinProlog - Open source commercial software
  • Boizumault Prolog - Open Source
  • ESL Prolog-2 - Commercial
  • Cogent Prolog Compiler - Commercial
  • cu-Prolog - Open Source
  • IF/Prolog - Commercial
  • LPA Prolog - Commercial
  • LPA micro-PROLOG - Commercial
  • Logicware MPROLOG - Commercial
  • MR Prolog - Commercial
  • PDC Prolog - Commercial
  • Prolog II - Commercial
  • Prolog III - Commercial
  • Chalcedony Prolog V/Prolog V-Plus - Commercial
  • Prolog-86+- Commercial
  • PD Prolog (A.D.A. PD Prolog) - Freeware
  • Quintus Prolog - Commercial
  • SICStus Prolog - Commercial
  • SNI Prolog - Commercial
  • Stony Brook Prolog - Aka SB-Prolog - Open source
  • Turbo Prolog - Commercial
  • VML Prolog - Commercial

Win-OS/2

  • ALS Prolog - former commercial/now open source
  • Amzi! Logic Explorer - Freeware
  • Amzi! Prolog+Logic Server - Commercial
  • Arity Prolog - Commercial
  • IF/Prolog - Commercial - Discontinued - Contraint ver.
  • LPA Prolog - Commercial - Versions up to 4.1 run with Win32s
  • Prolog IV - Commercial
  • Visual Prolog - Commercial

Java

Commercial:

Open Source:

Utilities
  • Prolog4J - Allows Java programs to use native Prolog engines - Open Source

JavaScript

Publications

  • Feliks Kluźniak; Stanisław Szpakowicz: Prolog for Programmers - Academic Press 1987, ISBN 0-12-416521-4 [1]
  • Michael Spivey: An Introduction to Logic Programming through Prolog - Prentice-Hall 1996, ISBN 0-13-536047-1 [2]
  • Patrice Boizumault: The Implementation of Prolog- Translated by Ara M. Djamboulian and Jamal Fattouh - 1993/2014, ISBN 0-691-60939-X
  • Fernando C. N. Pereira; Stuart M. Shieber: Prolog and Natural-Language Analysis
  • Michael A. Covington; Donald Nute; André Vellino: Prolog Programming in Depth (Second edition) - Prentice-Hall 1997, ISBN 0-13-138645-X
Papers

Links