https://github.com/wadaboa/prolog-utils
Some Prolog examples, exercises and utilities
https://github.com/wadaboa/prolog-utils
clp data-structures logic-programming prolog
Last synced: 3 months ago
JSON representation
Some Prolog examples, exercises and utilities
- Host: GitHub
- URL: https://github.com/wadaboa/prolog-utils
- Owner: Wadaboa
- License: mit
- Created: 2020-01-19T17:46:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-07T15:46:32.000Z (almost 5 years ago)
- Last Synced: 2025-01-20T10:23:07.688Z (5 months ago)
- Topics: clp, data-structures, logic-programming, prolog
- Language: Prolog
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prolog utilities
## Source files
* Inside `utils.pl` you can find some Prolog examples, exercises and utilities,
regarding data structures like lists, sets, queues and binary trees.
* Inside `nqueens.pl` you can find two implementations of the n-queens problem,
where the first one uses only LP principles, while the second one uses CLP predicates.
* Inside `meta.pl` you can find implementations of meta-interpreters and the use of various meta-predicates.
Also grammar parsers and Definite Clause Grammar parsers have been tested.
* Inside `event.pl` you can find a simple `Event Calculus` implementation.