/Prolog

Prolog is a declarative programming language.

Primary LanguageProlog

Prolog

Prolog is a declarative programming language. This means that in Prolog, you do not write out what the computer should do line by line, as in procedural languages such as C and Java

Setup ( Arch Linux )

sudo pacman -S gprolog

Setup ( MacOS )

brew install gnu-prolog

How to running ( Arch Linux && MacOS)

gprolog
(it's open)

change_directory('your_directory_path').

consult('les1.pl').

Tutorials

Notes

write('hello'). 

write('new'), nl, 
write('line').

write('Let\'s go!!').