HUT

Beginners quide to Eclipse

1. Generalities

Starting Eclipse, loading programs, making queries, exiting and generally everyting is performed in the same way as in Prolog. Read the Beginners quide to Swi-Prolog on these pages. So again remember the closing dots.

2. Starting Prolog

Prolog command interpreter is started by typing eclipse in a folder where the program sorce files are located.

What you get is an interface resempling the one in SWI-Prolog.

The loading command is:

[file].
So for instance:
[myprog].

3. Quitting Eclipse

You exit from Eclipse by giving command halt.

Interrupting of execution you will occationally need to do if the program goes to an infinite loop. This is achieved by striking ctrl-C. You get then a promp for the next action to be taken. an a as an answer aborts execution. h for help.

4. Eclipse programs

See exercises 2 (10.10.2003) problems and answers for examples.

5. Eclipse manuals

6. Eclipse in Windows

If you want to run eclipse in Windows environment. local link