Introduction to Prolog Programming The Basics Prolog (Programming in logic) is one of the most widely used programming languages in artificial intelligence research. As opposed to imperative languages such as C or java (the latter of which also happens to be object-oriented) it is a declarative programming language. That means, when implementing the solution to a problem, instead of specifying how to achieve a certain goal in a certain situation, we specify what is situation (rules and facts) and the goals (query) are and let the prolog interpreter derive the solution for us. Prolog is very useful in some problem areas, such as artificial intelligence, natural language processing, database,.... but pretty useless in others, such as graphics or numerical algorithms. Basic Features of Prolog Features of Prolog are:- Facts Terms Queries Logical Variables Shared Variables Data Types in Prolog Rules
Comments
Post a Comment