4 ms·
What sort of programs is Prolog good at expressing? I've looked at it a bit, but can't really think of any good use cases.
by juliangoldsmith 10y ago
What sort of programs is Prolog good at expressing? I've looked at it a bit, but can't really think of any good use cases.
- YeGoblynQueenne 10y agoAnything that needs pattern matching or search. As a for instance, grammars (in Prolog, a grammar can be expressed as a first order logic theory, to be proved by the compiler; therefore, a program).