Premier programme Prolog sous Windows

Опубликовано: 14 Март 2026
на канале: KreaTuto
3,289
32

👉 How to create your first program in Prolog.

🐼 Prolog Section ▶ https://www.kreatuto.info/rubrique/Pr...

👀 SWI-Prolog Download URL:
https://www.swi-prolog.org/download/s...

   • Prolog  
📥 PDF for accessing the videos in this section: https://www.kreatuto.info/docs-fourni...

🐼 Computer Science Initiation and Advanced Training ▶ https://www.kreatuto.info/

——————————————— Video Chapters ———————————————
📋 00:00 Objective and Situation
00:14 Getting Started The Prolog interpreter: swipl and halt/0 to quit
00:44 Hello World! in Prolog with write/1
01:07 help/1 for help
01:28 Prolog is case-sensitive (uppercase vs. lowercase)
01:48 Interrupt execution with Ctrl+C… then a for abort
02:18 Objective of our program: what information will we represent?

02:41 Creating the program troupeau.pl
03:02 Writing the three clauses of the program
03:52 Loading the knowledge base troupeau.pl
04:07 Using listing/1 to find out about a predicate
04:57 Querying the knowledge base: Is a clause true?
06:02 Querying the knowledge base with a variable.
06:50 Pressing "Enter" to stop searching for another solution. 07:02 Use the semicolon character ";" to search for a possible alternative solution.

07:22 Loading a program with consult/1
07:55 Tab completion
08:41 In summary
10:04 What's next?