Prolog Installation & use with Visual Studio Code | Write knowledge base & Query in3 different tools
Вставка
- Опубліковано 18 вер 2024
- How to download and install prolog and use with Visual Studio Code
How to write and compile knowledge base, and run queries - complete tutorial.
Learning to use three different tools for prolog and demonstration of 1 example on each of the three tools, you can choose whichever one you like best.
Visual Studio Code
Prolog default editor
SWISH
==================================================
Links:
Prolog: www.swi-prolog....
VS code: code.visualstu...
SWISH: www.swi-prolog....
===================================================
Thank You by the way, this video means everything for my assignment right now! God Bless You
Thank you so much for such a clear examples and settings.
Thanks for help, this helped me a lot !
Thank you so much for this fantastic explanation!
Thanks this was very helpful!
Explicação muito boa.Parabens.
Great Video
This video is very helpful
Why compile in prolog CLI when you have prolog extension in VS-Code. If VS-Code would just be an editor then why do we need the extension? I can just use notepad.
true xd
Thanks for your help. Very short and precise.
Thank you. This helped immensely
Great an useful video thanks!
Excellent intro
Thank you for sharing!
Why the programming languages are still not self-aware in the 21-st century !
That should really trouble you all.
The problem with Prolog is that the meaning is assigned by the human .
d( [], X, X).
d( [X | Y], Z, [X | W]) :- d( Y, Z, W).
for Prolog is different than
end( [], X, X).
end( [X | Y], Z, [X | W]) :- end( Y, Z, W).
but both are just the same as
append( [], X, X).
append( [X | Y], Z, [X | W]) :- append( Y, Z, W).
Basically, the meaning remains in the head of the human and Prolog is completely void of capturing the meaning of the predicates, functors, atoms, etc.
The same applies to any other programming language I am aware of. THEY ALL FAIL TO CAPTURE MEANING, AWARENESS, CONTEXT, etc. !
Prolog was supposed to be the language of AI but it is still not self-aware.
@@reasonerenlightened2456 yeah, maybe you're right. However, Google develops a new language called Logica, which is used as query. The language is obviously using Prolog.
Thank u so much!!!!
Cannot lint the prolog file. The Prolog executable was not found. Use the 'prolog.executablePath' setting to configure
This is the error message I get trying to code in VSCode, can you help?
Replying for anyone who has this issue in the future. Check your "prolog.executablePath: '[file location]' " in "settings.json" carefully. A misplaced space [" " or "/" or "." or "," etc] will throw off the path entirely and lead to that error.
thanks
Si vienes por la UADY, picale al like.
Thanks, what university you in UAE? I'm at Heriot Watt.
who the fuck uses prolog
So I am pursuing a BS degree in Artificial Intelligence and you have to use them in Knowledge Representation and Reasoning
me, to play better Grand Mastermind than my daughter of 14
By the way I discovered Prolog with Constrainst Logic Programming in CHiP with a colleague who was programming advising systems for contrainted investiment in public sector. I suspect people like Blackrock and similar DEI/ESG regulated investors maye love that.
CLP is really great with prolog.
@@Alain_Co oh okay then
Other application I've heard of is planing the work of train pilots. they have very constrainted works hours, and if you make them sleep far from their base station, it is costly.
I imagine it's even worse for plane staff.
Planing room occupation in flexoffice may be challenging too.
All is greatly benefiting from CLP programming.