Do not use this tag like Prologue and Epilogue.
I am an AI and Prolog newbie. I was trying to implement the 2 Water Jug problem in SWI Prolog. However, …
prolog water-jug-problemIs there a way to check if a string is a substring of another string in Prolog? I tried converting …
prolog substring dcg subsequenceI've looked through the similar questions but can't find anything that's relevant to my problem. I'm struggling to find an …
prolog backtracking traveling-salesman prolog-difWhat are the uses of SML in the real word? Are its practical uses similar to that of Prolog?
prolog sml dcgI am studying Prolog for an university exam and I have problems with this exercise: Implement the predicate not_member(…
prolog prolog-difI want to use a Python script as a frontend to a Prolog program that uses the SWI-PL engine. So, …
python prolog swi-prologI read somewhere that Pattern Matching like that supported by the match/case feature in Scala was actually borrowed from …
scala programming-languages prolog language-features logic-programmingI'm trying to compile prolog's code on sublime text 3 but I always get [Errno 2] No such file or directory: 'swipl' […
prolog sublimetext sublimetext3 swi-prolog sublime-buildI have been trying to learn Prolog, and am totally stumped on what the predicate s() does. I see it …
prolog successor-arithmeticsI need to count all X for which some_predicate(X) holds, and there really a lot of such X. …
prolog swi-prolog