exercism / prolog

Exercism exercises in Prolog.
https://exercism.org/tracks/prolog
MIT License
29 stars 38 forks source link
community-contributions-paused exercism-track

Exercism Prolog Track

Configlet Status Exercise Test Status

Exercism Exercises in Prolog

Setup

See INSTALLATION.md

Contributing

Thank you so much for contributing! :tada:

We welcome pull requests that provide fixes and improvements to existing exercises. If you're unsure, then go ahead and open a GitHub issue, and we'll discuss the change.

Please keep the following in mind:

pending :-
    current_prolog_flag(argv, ['--all'|_]).
pending :-
    write('\nA TEST IS PENDING!\n'),
    fail.
test(hello_world, condition(true)) :-
    hello_world('Hello World!').

test(hello_world_with_a_name, condition(pending)) :-
    hello_world('Alice', 'Hello Alice!').

All the tests for Exercism Prolog Track exercises can be run from the top level of the repo with bin/build.sh. Please run this command before submitting your PR.

SWI Prolog icon

The SWI Prolog "Owlie" logo is owned by the SWI Prolog maintainers and released under the Simplified BSD license. We have adapted it for use on Exercism, changing the colour scheme, with the express permission of anne@swiprolog.org.