Prolog Programming in Ubuntu

Yes, you can use any text editor, incl. VIM. Once you have written a Prolog source file, say, file.pl, you can load it into SWI-Prolog like so: swipl -s file.pl This will compile your file and take you to an interactive shell where you can then ask queries against the definitions in your file. If … Read more