Prolog Tutorial

preview_player
Показать описание
I'd greatly appreciate a review for it if you have time.

MY UDEMY COURSES ARE 87.5% OFF TIL December 19th ($9.99) ONE IS FREE

Installation 01:08
Introduction 05:40
Facts 09:55
Rules 12:00
Variables 15:30
If Statement 23:54
Complex Terms / Structures 25:56
Format 28:38
Comparison 31:13
Trace 33:36
Recursion 36:16
Math 39:10
Reading / Writing Console 44:08
File I/O 46:10
Looping 49:29
Changing the Database 53:31
Lists 56:51
Strings 1:00:47

Like the channel? Consider becoming a Patreon! Check it out here:

*Watch More Learn in One Videos*
Рекомендации по теме
Комментарии
Автор

Learn in One Videos for Every Programming Language

derekbanas
Автор

5:30 Tutorial starts (To skip installation process)

cheatcode
Автор

Derek Banas,

I tried slogging through the "Art of Prolog" but was recommended your video by a friend of mine. You not only effectively concatenated a detailed reading of the first few chapters, but improved upon their clarity. I feel like I can return to the later chapters of the book now with an improved understanding.

Thanks again.

Shiroach
Автор

that video was worth it. learned more in the first 10 min then what i did in my college course after a half of a semester. thank you very much :D

creeperraper
Автор

Its so great that you use sound engeneering for your mic and cut the moments when you write code. so the presentation is compact and dense with information that is easy to watch. I really appreciate this quality in your videos (Ive seen few already, like HASKELL) :]

martinoplaya
Автор

you seriously go above and beyond with these. So high quality in so many ways. The time stamps and cheat sheet I am especially grateful for. Thank you.

integralyogin
Автор

Genuinely would've failed my course if it wasn't for this video. Seems to be so little information about prolog online, and my lecturer was no use at teaching it either. Thanks a lot for making this.

arran
Автор

Note: to print out text, you can use writef() instead of format() and % instead of ~ [ just because writef() is close to printf() from C which many would be more familiar with ].

abdulelahaljeffery
Автор

It's already 2021 and this video saved me! Thank you.
As we're taking remote classes, my teachers didn't have enough time to teach it

khaiyuw
Автор

If anyone struggles at 5:00 just save the text file as .h and then save a copy as .cpp :)

Maxens
Автор

Reminder:

2:27 - On this page, Derek already had the packages selected...if this is your first time installing, then these packages would have n/a beside it. In order to get those two boxes with the x in the first one, press 'Skip'...yes, it toggles. Check off all the corresponding packages mentioned in this tutorial.

5:00 - Notice there are two files, helloworld.cpp and helloworld.h, in the directory. How did helloworld.cpp get there? I could be wrong, but maybe he saved the file as another file with .cpp as the extension. That's what I did and it worked for me when I ran the helloworld.cpp file.

weewoowarrior
Автор

Just the right amount of detail and explanation for someone who is familiar with imperative languages.

I definitely prefer watching this tutorial than reading through 80 different sources for documentation on prolog, thanks for the video Derek.

bitmp
Автор

20:45 wrong bob is the parent, this code works shows the actual grandparents
get_grandparent :-
parent(X, carl),
parent(X, charlie),
parent(Y, X),
format('~w ~s grandparent ~n', [Y, "is the"]).

Mrmegaminergames
Автор

I think the name and the sentece are deceptive :
get_grandparent :-
parent(X, carl),
parent(X, charlie),
format('~w ~s grandparent ~n', [X, "is the"]).

This is better :
get_parent :-
parent(X, carl),
parent(X, charlie),
format('~w ~s ~n', [X, "is parent's carl and charlie "]).

(sorry about my english mistakes, my english isn't perfect)

donguth
Автор

Just that example at 12:53 between if and the prolog syntax makes everything much more clear. Why did my prof had to make it look so complicated...
Love you Derek

JR-mkow
Автор

Excellent Tutorial, thanks Derek! I had Prolog during College for 6 months and learn nothing at all, now I am trying to keep up to speed with AI and your tutorial was very complete and understandable.

marciliodacolneto
Автор

Thanks for making this video, the first 45 mins for enough to cover all the topics that we covered in one semester

aryankashyap
Автор

Brooo. In contrast to my Logic lecturer you're making Prolog sound logical and usable. Before watching this video I got the impression it was some sort of ancient Vulcan pureblood language.


Thank you!!!!

robingather
Автор

Amazing video, sums up a quarter of my semester in an hour! Why don't we have more teachers like you in university! :)

puremarbib
Автор

I wrote a prolog interpreter in python.

But it was more simular to english.

i.e

In prolog:
Loves(romeo, juliet)

In my python interpreter:
Romeo loves juliet

johnflanch