Prolog: Difference between revisions
Jump to navigation
Jump to search
imported>Eric Evers No edit summary |
imported>Eric Evers No edit summary |
||
Line 3: | Line 3: | ||
'''Prolog''' is a [[Programming_language#Declarative_vs._Imperative|declarative language]], and is a [[Programming_language#General_purpose_vs._special_purpose|general-purpose ]] [[programming language]]. Prolog stands for "programming logic", and is built on the theory of horn clauses. [[Erlang]] is a language that shares some syntax with prolog. Prolog is most often used to program artificial intelegence applications such as expert systems. One of the more famous versions of prolog is Quintus Prolog. Other versions of Prolog include SWI-Prolog and GNU Prolog [[http://www.gprolog.org]]. | '''Prolog''' is a [[Programming_language#Declarative_vs._Imperative|declarative language]], and is a [[Programming_language#General_purpose_vs._special_purpose|general-purpose ]] [[programming language]]. Prolog stands for "programming logic", and is built on the theory of horn clauses. [[Erlang]] is a language that shares some syntax with prolog. Prolog is most often used to program artificial intelegence applications such as expert systems. One of the more famous versions of prolog is Quintus Prolog. Other versions of Prolog include SWI-Prolog and GNU Prolog [[http://www.gprolog.org]]. | ||
The (K&R) equivilant classic text for Prolog is: Programming in Prolog by William F. Clocksin (Author), Christopher S. Mellish. | The (K&R) equivilant classic text for Prolog is: Programming in Prolog by William F. Clocksin (Author), Christopher S. Mellish. | ||
At the prolog command line we can use: | |||
> print('hello world!'). | |||
to produce: | |||
hello world! | |||
==See also== | ==See also== |
Revision as of 15:40, 1 February 2008
![](http://s9.addthis.com/button1-share.gif)
Prolog is a declarative language, and is a general-purpose programming language. Prolog stands for "programming logic", and is built on the theory of horn clauses. Erlang is a language that shares some syntax with prolog. Prolog is most often used to program artificial intelegence applications such as expert systems. One of the more famous versions of prolog is Quintus Prolog. Other versions of Prolog include SWI-Prolog and GNU Prolog [[1]]. The (K&R) equivilant classic text for Prolog is: Programming in Prolog by William F. Clocksin (Author), Christopher S. Mellish.
At the prolog command line we can use: > print('hello world!'). to produce: hello world!