{"id":16312412,"url":"https://github.com/kiranandcode/swipl-ocaml","last_synced_at":"2025-10-25T16:31:38.210Z","repository":{"id":112327135,"uuid":"436151819","full_name":"kiranandcode/SWIPL-OCaml","owner":"kiranandcode","description":"SWI-Prolog Bindings for OCaml: https://gopiandcode.github.io/SWIPL-OCaml/swipl/index.html","archived":false,"fork":false,"pushed_at":"2021-12-08T07:48:48.000Z","size":87,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T09:02:30.662Z","etag":null,"topics":["logic","ocaml","prolog"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kiranandcode.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-12-08T07:14:26.000Z","updated_at":"2023-07-14T08:16:22.000Z","dependencies_parsed_at":"2023-04-12T06:48:35.055Z","dependency_job_id":null,"html_url":"https://github.com/kiranandcode/SWIPL-OCaml","commit_stats":null,"previous_names":["kiranandcode/swipl-ocaml"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2FSWIPL-OCaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2FSWIPL-OCaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2FSWIPL-OCaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2FSWIPL-OCaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiranandcode","download_url":"https://codeload.github.com/kiranandcode/SWIPL-OCaml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238183414,"owners_count":19430109,"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":["logic","ocaml","prolog"],"created_at":"2024-10-10T21:48:01.853Z","updated_at":"2025-10-25T16:31:37.790Z","avatar_url":"https://github.com/kiranandcode.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SWIPL-OCaml \n\nSWIProlog bindings for OCaml (for SWIProlog version 8.5).\n\n```ocaml\n(* initialise SWIProlog *)\nlet () = Swipl.initialise ()\n(* setup the prolog database with some facts *)\nlet () = Swipl.load_source \"hello :- writeln('hello world').\"\n(* construct a Swipl term in OCaml *)\nlet hello = Swipl.Syntax.(!\"hello\")\n(* send the term to the Prolog engine *)\nlet () = Swipl.with_ctx @@ fun ctx -\u003e Swipl.call ctx hello\n```\n\nCheck out the [Documentation page](https://gopiandcode.github.io/SWIPL-OCaml/swipl/index.html) for a detailed introduction and quick start guide! \n\nIf you know what you're doing already, then maybe check out the\nexample uses under `examples/`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiranandcode%2Fswipl-ocaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiranandcode%2Fswipl-ocaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiranandcode%2Fswipl-ocaml/lists"}