{"id":15904416,"url":"https://github.com/adamjstewart/prolog","last_synced_at":"2025-09-11T23:32:04.787Z","repository":{"id":108746083,"uuid":"112506080","full_name":"adamjstewart/prolog","owner":"adamjstewart","description":"An implementation of Prolog written in OCaml","archived":false,"fork":false,"pushed_at":"2023-04-30T17:14:03.000Z","size":284,"stargazers_count":3,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-29T18:42:16.544Z","etag":null,"topics":["ocaml","prolog","prolog-interpreter"],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamjstewart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-29T17:25:55.000Z","updated_at":"2024-10-10T10:51:16.000Z","dependencies_parsed_at":"2024-10-06T12:23:51.805Z","dependency_job_id":"70e0d23c-9117-4066-a52f-45dfebc9adea","html_url":"https://github.com/adamjstewart/prolog","commit_stats":{"total_commits":130,"total_committers":3,"mean_commits":"43.333333333333336","dds":0.3538461538461538,"last_synced_commit":"acb1fb869065d54ee3c3996e7c257f2efbf4630f"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjstewart%2Fprolog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjstewart%2Fprolog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjstewart%2Fprolog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjstewart%2Fprolog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamjstewart","download_url":"https://codeload.github.com/adamjstewart/prolog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232670298,"owners_count":18558566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ocaml","prolog","prolog-interpreter"],"created_at":"2024-10-06T12:23:44.110Z","updated_at":"2025-01-06T03:33:57.809Z","avatar_url":"https://github.com/adamjstewart.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prolog\n\n[![Build Status](https://travis-ci.org/adamjstewart/prolog.svg?branch=master)](https://travis-ci.org/adamjstewart/prolog)\n[![Coverage Status](https://coveralls.io/repos/github/adamjstewart/prolog/badge.svg?branch=master)](https://coveralls.io/github/adamjstewart/prolog?branch=master)\n[![Documentation Status](https://readthedocs.org/projects/prolog/badge/?version=latest)](http://prolog.readthedocs.io/en/latest/?badge=latest)\n\nAn implementation of Prolog written in OCaml\n\n## Dependencies\n\nThis project depends on the following OCaml libraries:\n\n* [OCamlfind](https://opam.ocaml.org/packages/ocamlfind/) for finding dependent libraries\n* [OCamlbuild](https://opam.ocaml.org/packages/ocamlbuild/) for building the project\n* [OUnit](https://opam.ocaml.org/packages/ounit/) for unit testing\n* [Menhir](https://opam.ocaml.org/packages/menhir/) for parser generation\n* [Bisect_ppx](https://opam.ocaml.org/packages/bisect_ppx/) for coverage analysis\n* [Bisect_ppx-ocamlbuild](https://opam.ocaml.org/packages/bisect_ppx-ocamlbuild/) for integration between Bisect_ppx and OCamlbuild\n* [OCveralls](https://opam.ocaml.org/packages/ocveralls/) for uploading coverage reports to [Coveralls](https://coveralls.io/)\n\n\nThe recommended way to install these dependencies is with [OPAM](https://opam.ocaml.org/):\n\n```\n$ opam install ocamlfind\n$ opam install ocamlbuild\n$ opam install oUnit\n$ opam install menhir\n$ opam install bisect_ppx\n$ opam install bisect_ppx-ocamlbuild\n$ opam install ocveralls\n```\n\nAdditionally, in order to build the documentation, the following dependencies are required:\n\n* [Sphinx](https://pypi.python.org/pypi/Sphinx) for building the documentation\n* [Sphinx_rtd_theme](https://pypi.python.org/pypi/sphinx_rtd_theme) for the HTML theme\n* [Graphviz](http://www.graphviz.org/) for rendering the parser graph\n* [LaTeX](https://www.latex-project.org/) for building a PDF version\n\nThe recommended way to install these dependencies is with [pip](https://pip.pypa.io/en/stable/):\n\n```\n$ pip install sphinx\n$ pip install sphinx_rtd_theme\n```\n\n## Installation\n\nTo build this project, simply clone the repository and run `make`:\n\n```\n$ git clone https://github.com/adamjstewart/prolog.git\n$ cd prolog\n$ make\n```\n\nAfterwards, the interpreter can be run like so:\n\n```\n$ ./main.byte\n\nWelcome to the Prolog Interpreter\n\n\u003e cat(tom).\n\u003e animal(X) :- cat(X).\n\u003e ?- animal(X).\n====================\nX = tom\n====================\ntrue\n```\n\n## Testing\n\nTo run the test-suite, simply run `make test`:\n\n```\n$ make test\n```\n\n## Coverage\n\nTo generate and view the coverage reports in your web browser, simply run `make coverage`:\n\n```\n$ make coverage\n```\n\n## Documentation\n\nTo build the documentation, simply run `make docs`:\n\n```\n$ make docs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamjstewart%2Fprolog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamjstewart%2Fprolog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamjstewart%2Fprolog/lists"}