![]() |
Beginners quide to Eclipse1. GeneralitiesStarting 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 PrologProlog 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 EclipseYou 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 programsSee exercises 2 (10.10.2003) problems and answers for examples. 5. Eclipse manuals6. Eclipse in WindowsIf you want to run eclipse in Windows environment. local link |