Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Welcome to the ever growing family of PDT users! The chapters below will help you setting up and using the Prolog Development Tool.
See Download for details.
First of all, if you don't see the prolog console, you can open it by going to the menu “Prolog” > “Open Console”. It should look like this:
The create and consult Prolog files you should do the following:
Navigator: Displays and lets you work with projects, files and folders (open, copy, move, rename, delete, …).
Editor: Here you can write Prolog code. The editor supports syntax highlighting and the usual Eclipse markers for syntax errors and warnings.
Outline: Shows the predicates defined in the active editor and their arity. You can expand them to reveal the heads of the individual clauses. If the file is a Prolog module, public predicates are marked by green bullets and private ones by yellow diamonds. The AZ button at the top of the outline determines the sorting of predicates (textual or alphabetic order). The outline is updated, everytime a file is consulted.
Console: The Prolog Console is where you can type your queries and interact with the Prolog system. You can find more information about the console here.
likes(A,kate).
in the console. Don't forget the period ('.') at the end of the query! Terminate the query by typing <return>. The output should be A = jack
.A = sawyer
.likes(kate, A).
) the result will be: 'false.'.
PDT - General FAQ: http://roots.iai.uni-bonn.de/research/pdt/faq
PDT - Mailing list FAQ: Mailing List Frequently Asked Questions
Prolog - SWI-Prolog Wiki: http://gollem.science.uva.nl/twiki/pl/bin/view
Prolog - General Information: http://en.wikipedia.org/wiki/prolog