{"id":15225203,"url":"https://github.com/julgitt/prolog-implementation-in-ocaml","last_synced_at":"2026-02-03T06:03:50.541Z","repository":{"id":220836919,"uuid":"752717460","full_name":"julgitt/Prolog-Implementation-In-Ocaml","owner":"julgitt","description":"Prolog parser, lexer and interpreter in Ocaml","archived":false,"fork":false,"pushed_at":"2024-02-22T12:01:18.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T06:38:13.033Z","etag":null,"topics":["backtracking","functional-programming","monads","ocaml","prolog","prolog-implementation","state-monad"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/julgitt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-04T16:05:21.000Z","updated_at":"2024-02-07T19:30:02.000Z","dependencies_parsed_at":"2024-11-19T04:52:00.678Z","dependency_job_id":null,"html_url":"https://github.com/julgitt/Prolog-Implementation-In-Ocaml","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"2bd5767ca80d8f8d9e61d63d99a144eb2fa9bd52"},"previous_names":["julgitt/prolog-implementation-in-ocaml"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/julgitt/Prolog-Implementation-In-Ocaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julgitt%2FProlog-Implementation-In-Ocaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julgitt%2FProlog-Implementation-In-Ocaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julgitt%2FProlog-Implementation-In-Ocaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julgitt%2FProlog-Implementation-In-Ocaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julgitt","download_url":"https://codeload.github.com/julgitt/Prolog-Implementation-In-Ocaml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julgitt%2FProlog-Implementation-In-Ocaml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29035306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T02:28:16.591Z","status":"ssl_error","status_checked_at":"2026-02-03T02:27:48.904Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["backtracking","functional-programming","monads","ocaml","prolog","prolog-implementation","state-monad"],"created_at":"2024-09-28T18:05:07.502Z","updated_at":"2026-02-03T06:03:50.524Z","avatar_url":"https://github.com/julgitt.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Prolog implementation in Ocaml \n\n**Key Features:**\n- Unification using Robinson's algorithm.\n- Comprehensive support for syntax, semantics, and arithmetic operations.\n- Reading the predicate base from a file\n- Queries can be sent from the console.\n- Implementation of backtracking with a state monad providing a search for multiple solutions.\n---\n**Required libraries:**\n\n- Dune\n- Menhir\n- Linenoise\n---\n**Manual Installation:**\n```console\nsudo apt install opam\nopam init\nopam install dune\nopam install linenoise\nopam install menhir\neval $(opam config env)\ndune build    \ndune exec prolog\n```\n---\n**Plans for the future development:**\n- Support for Prolog lists\n- Comparison operators\n---\n**Preview:**\n\n![image](https://github.com/julgitt/Prolog-Implementation-In-Ocaml/assets/95649808/106a20b1-e1bc-4f92-a540-263290df2533)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulgitt%2Fprolog-implementation-in-ocaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulgitt%2Fprolog-implementation-in-ocaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulgitt%2Fprolog-implementation-in-ocaml/lists"}