Prolog-- short for "Programming Logic"-- is a declarative and logic based programming language developed in 1972 by Alain Colmerauer and Philippe Roussel. It has many applications, most notably in Artificial Intelligence for its pattern matching abilities over natural language parse trees.

Prolog is written in "facts" and "rules" that define logical formulas, similar to functional programs. Learning Prolog is a great way to improve skills with recursion, predicate logic, and constraint logic programming.


Help us explain this better! File a GitHub issue at https://github.com/exercism/prolog/issues if you have suggestions, or submit a patch with improvements to the https://github.com/exercism/prolog/blob/master/docs/ABOUT.md file.

Try It!

If you've downloaded the command-line client and have Prolog installed on your machine, then go ahead and fetch the first problem.

1
exercism fetch prolog

In order to be able to submit your solution, you'll need to configure the client with your Exercism API key.

1
exercism configure --key=YOUR_EXERCISM_KEY

When you've written a solution, submit it to the site. You'll have to configure the command-line client with your exercism API key before you can submit.

1
exercism submit PATH_TO_FILE