Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Latest commit

 

History

History
54 lines (32 loc) · 1.21 KB

README.md

File metadata and controls

54 lines (32 loc) · 1.21 KB

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