{"id":16717355,"url":"https://github.com/nathanreb/opttopfind","last_synced_at":"2025-04-10T06:42:56.240Z","repository":{"id":82831330,"uuid":"383207552","full_name":"NathanReb/opttopfind","owner":"NathanReb","description":"Topfind port to native toplevel","archived":false,"fork":false,"pushed_at":"2021-11-18T09:52:05.000Z","size":12,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T07:49:08.924Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NathanReb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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":"2021-07-05T16:48:48.000Z","updated_at":"2024-11-04T23:44:57.000Z","dependencies_parsed_at":"2023-03-04T19:45:29.180Z","dependency_job_id":null,"html_url":"https://github.com/NathanReb/opttopfind","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanReb%2Fopttopfind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanReb%2Fopttopfind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanReb%2Fopttopfind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanReb%2Fopttopfind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NathanReb","download_url":"https://codeload.github.com/NathanReb/opttopfind/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248173381,"owners_count":21059592,"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":[],"created_at":"2024-10-12T21:31:36.877Z","updated_at":"2025-04-10T06:42:56.217Z","avatar_url":"https://github.com/NathanReb.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# opttopfind\n\n`opttopfind` is a port of the `topfind` library, shipped with\n[`ocamlfind`](https://github.com/ocaml/ocamlfind), compatible with the native toplevel.\n\nIt depends on [`compiler-libs-opttoplevel`](https://github.com/NathanReb/compiler-libs-opttoplevel)\nand on a specific fork of OCaml 4.11, available\n[here](https://github.com/NathanReb/ocaml/tree/jit-hook-411).\n\nThis package is a temporary port and the aim is to integrate this work into upstream ocamlfind\nonce the unification of the native and bytecode toplevel as a simple patch.\n\nIt was initally created for a prototyping a version of [MDX](https://github.com/realworldocaml/mdx)\nusing [ocaml-jit](https://github.com/NathanReb/ocaml-jit) but if you wish to play around with the\nnative toplevel and still benefit from `#require` directives you can give it a try!\n\nTo use the above mentionned compiler fork in a fresh local switch, run the following command:\n```\nopam compiler create --switch=. NathanReb:jit-hook-411\n```\n\nThen, in addition to pinning this repo, you'll likely need to pin `compiler-libs-opttoplevel`\nas opam doesn't handle transitive `pin-depends`:\n```\nopam pin add compiler-libs-opttoplevel.0.1.0 git+https://github.com/NathanReb/compiler-libs-opttoplevel.git#0.1.0\nopam pin opttopfind.0.1.0 git+https://github.com/NathanReb/opttopfind.git#0.1.0\n```\n\nAlternatively you can also add the following `pin-depends` field to your opam file so that\n`opam install ./` does the right thing:\n```\npin-depends: [\n  [\n    \"compiler-libs-opttoplevel.0.1.0\"\n    \"git+https://github.com/NathanReb/compiler-libs-opttoplevel.git#0.1.0\"\n  ]\n  [\n    \"opttopfind.0.1.0\"\n    \"git+https://github.com/NathanReb/opttopfind.git#0.1.0\"\n  ]\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanreb%2Fopttopfind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathanreb%2Fopttopfind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanreb%2Fopttopfind/lists"}