{"id":27940991,"url":"https://github.com/reasonml/reasonnativeproject","last_synced_at":"2025-06-25T09:08:32.030Z","repository":{"id":83164365,"uuid":"64823094","full_name":"reasonml/ReasonNativeProject","owner":"reasonml","description":"Reason native compilation starter project","archived":false,"fork":false,"pushed_at":"2021-02-13T05:59:11.000Z","size":9967,"stargazers_count":204,"open_issues_count":18,"forks_count":45,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-07T10:41:27.307Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/reasonml.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,"zenodo":null}},"created_at":"2016-08-03T06:58:20.000Z","updated_at":"2025-03-24T13:30:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"d5ccf48b-6a7d-4a8b-ab5f-eb2a2165c090","html_url":"https://github.com/reasonml/ReasonNativeProject","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reasonml/ReasonNativeProject","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reasonml%2FReasonNativeProject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reasonml%2FReasonNativeProject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reasonml%2FReasonNativeProject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reasonml%2FReasonNativeProject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reasonml","download_url":"https://codeload.github.com/reasonml/ReasonNativeProject/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reasonml%2FReasonNativeProject/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261841959,"owners_count":23217914,"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":"2025-05-07T10:34:50.214Z","updated_at":"2025-06-25T09:08:32.014Z","avatar_url":"https://github.com/reasonml.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# !DEPRECATED! Use [hello-reason](https://github.com/esy-ocaml/hello-reason) instead\n\nOriginal README below:\n\n# ReasonNativeProject\n\n\n[`Reason`](http://reasonml.github.io/) project for native compilation:\n\n[More info on the workflow](https://reasonml.github.io/guide/native).\n\n[![Build Status](https://travis-ci.org/reasonml/ReasonNativeProject.svg?branch=master)](https://travis-ci.org/reasonml/ReasonNativeProject)\n\n## Develop With OPAM\n\n**Build**:\n\nClone the repo and run these commands from within the project:\n\n```sh\nopam update # get the latest opam packages data. Skip this optionally\n# opam will read into the `opam` file and add the other dependencies\nopam install reason\nopam install merlin\nopam install re\nmake build    # build/rebuild your files\n```\n\n**Run**:\n\n```sh\n./_build/install/default/bin/reason-native-bin\n```\n\n**Develop**:\n- Make sure you have `merlin` globally installed (via opam, *not*\n  `reason-cli`!)\n- [See the ReasonML\n  docs](https://reasonml.github.io/docs/en/editor-plugins.html) about setting\n  up your editor. Just remember to *not* install `reason-cli` when using\n  `opam`.\n\n\n\n## Preliminary Esy Support\nYou may alternatively use [`esy`](http://esy.sh/) to build and develop this\nproject. (`esy` is like \"npm for native\"). This is preferable for people who\nwant to build native Reason projects using existing opam packages, but with a\nmore familiar and sandboxed workflow. This is experimental and not stable yet.\nPlease report any issues to [the esy repo](https://github.com/esy/esy).\n\n**Build**:\n\n```sh\nnpm install -g esy@latest\nesy install\nesy build\n```\n\n**Run**:\n\nUse `esy x` (\"esy execute\") command to run the binary.\n\n```sh\nesy x reason-native-bin\n```\n\n**Develop**:\n\n- [See the ReasonML\n  docs](https://reasonml.github.io/docs/en/editor-plugins.html) about setting\n  up your editor.\n- Start your editor from the root of this project via `esy vim` or `esy atom`\n  etc. (Note VSCode has special `esy` support so that you don't need to start\n  it this way from the command line).\n- Add dependencies by adding entries to the `package.json`, running `esy\n  install` then `esy build`.\n\n\n## Developing Your Project\nThe entrypoint of this project is the `./bin/test.re` file. Make a simple\nchange to it and then rerun the build.\n\n`ReasonNativeProject` is meant to be the starting point of your own project. You'll\nwant to make use of existing libraries in your app, so browse the growing set\nof `opam` packages in the [opam repository](http://opam.ocaml.org/packages/).\n\n\n## Troubleshooting\n\nIn general, if something goes wrong, try upgrading your install of the project\nby running `opam upgrade ReasonNativeProject`, or if it failed to install and you\nlater fixed it, `opam install ReasonNativeProject`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freasonml%2Freasonnativeproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freasonml%2Freasonnativeproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freasonml%2Freasonnativeproject/lists"}