December 2021
Beginner
840 pages
47h 29m
English
Applications of logic/declarative programming include cryparithmetic problems, puzzles (e.g., tic-tac-toe), artificial intelligence, and design automation. In this section, we briefly introduce some other applications of Prolog and CLIPS.
One application of Prolog is natural language processing (Eckroth 2018; Matthews 1998)—the search engine used by Prolog naturally functions as a recursive-descent parser. One could conceive facts as terminals and rules as non-terminals or production rules. Consider the following simple grammar:
Using this grammar, a Prolog ...