234319: Programming Languages. Tutorial Notes: Prolog
Notes
Prolog 1
Prolog.1
Prolog
Prolog.2
Textbook
u Title
l PROLOG programming for artificial intelligence
u Author
l Ivan Bratko
u We will be using CPROLOG
l Make sure that /usr/local/bin is in your path.
u To enter type “cprolog” at your T2/TX shell prompt.
l cprolog C-Prolog version x.y | ?-
Prolog.3
Introduction
u What is Prolog?
l A programming language for symbolic non-numeric computation
u What is programming in Prolog like?
l Defining relations and querying about relations
u What is CPROLOG?
l An interpreter | ?- main prompt | secondary prompt