https://github.com/gsri30/prolog-interpreter
https://github.com/gsri30/prolog-interpreter
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gsri30/prolog-interpreter
- Owner: GSri30
- Created: 2022-05-09T23:50:18.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-08T23:31:21.000Z (almost 4 years ago)
- Last Synced: 2025-02-24T13:48:53.388Z (over 1 year ago)
- Language: OCaml
- Size: 1.55 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Prolog Interpreter
## Instructions to compile and run the code
`$ make`
`$ .\evaluate`
## Steps
- First we need to give the database file first.
`| ?- ['test.pl'].`
- The database will be loaded. Then we can start with giving the queries.
Ex:
`| ?- f(a).`