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.
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.'.