About 50 results
Open links in new tab
  1. What are the advantages of using Prolog over other languages?

    Oct 3, 2009 · Every language that is being used is being used for its advantages, generally. What are the advantages of Prolog? What are the general situations/ category of problems where one can use …

  2. How do I get the sum of given numbers in prolog? - Stack Overflow

    Jul 17, 2012 · That's because, to "go backwards", Prolog would have to solve an equation when comes the call to the (is)/2 operator. And while yours is simple (only additions), arithmetic isn't solvable this …

  3. What are the best uses of Logic Programming? - Stack Overflow

    Oct 19, 2008 · A language like Prolog is very fascinating, and it's worth learning for the sake of learning, but I have to wonder what class of real-world problems is best expressed and solved by such a …

  4. Haskell vs. Prolog comparison - Stack Overflow

    Dec 19, 2009 · Prolog is a logic programming language, whereas Haskell is a functional language. Functional languages are based on the concept of a function which takes a number of arguments …

  5. Prolog: a compiled or interpreted language or both?

    Feb 24, 2021 · The Prolog language can be compiled and can be interpreted so the answer is both. The reason you are seeing different answers for different sites is that you are asking about the language, …

  6. Logical Languages - Prolog or Lisp/Smalltalk or something else?

    Prolog - This is the most unlike BASIC of all languages mentioned. All of the other languages you mentioned can be (ab)used in a semi-procedural style, but that is essentially impossible in Prolog. It …

  7. Non-deterministic programming languages - Stack Overflow

    Similarly in Answer Set Programming (ASP) an extension of Prolog which allows disjunctive heads and constraints but has a further level of non-determinism. ASP can generate different answer sets. The …

  8. logic - Theorem Proof Using Prolog - Stack Overflow

    @false: Not my phrase, but Prolog uses only a limited fragment of propositional logic (Horn clauses), so as a "theorem prover" the Prolog engine has definite limitations. Of course as a general purpose …

  9. 'if' in prolog? - Stack Overflow

    May 17, 2010 · 0 syntax is very simple but it's not like other language:) And it's very essential for you to understand that what is the facts and rulse and differents between together in prolog language …

  10. prolog - Why hasn't logic programming caught on? - Stack Overflow

    As time goes by, it appears more and more like functional programming is having more of an effect on other programming languages. We're starting on Prolog in my AI class, and it seems like there are …