/swipl-disease-list

Academic project created for CS355 at Old Dominion University (Spring 2018). Read symptoms, write possible illness and associated tests and treatments.

Primary LanguagePrologMIT LicenseMIT

License: MIT

SWI-Prolog

Provide functions to read symptoms, write possible illness and associated tests and treatments of disease list using SWI-Prolog.

This program was created for CS355: Principles of Programming Languages at Old Dominion University during Spring 2018.

Usage

You will need SWI-Prolog:

sudo apt install swi-prolog

To start run the following from the src directory and consult the diseases dictionary:

$ swipl -s analyzer.pl

?- consult('diseases.pl').

Example

$ swipl -s analyzer.pl

?- consult('diseases.pl').
true.

?- howtotest(typhoid).
blood
true.

Enter halt. to exit SWI-Prolog.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Patrick Cox - Contributor - paddy74

License

This project is licensed under the MIT License - See the LICENSE.md file for details.

Acknowledgments