OCaml - Oxidized!
Translation pending
Developer toolsOCaml · CGitHub @oxcamlSelf-installOwner unconfirmed
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Installable projects can be verified without a deployment domain. Use GitHub sign-in for a personal repository, or the repository verification file above for an organization repository.
Ask about other verification options
Loading the full README. The saved excerpt is shown below.
A performance-focused version of OCaml.
This is also the home of the Flambda 2 optimiser and the Cfg backend.
OxCaml is currently based on OCaml 5.4 (plus some patches from later
upstream revisions, mainly in the runtime).
The following gives basic instructions for getting set up. Please see
HACKING.md for more detailed instructions if you want to develop in this repo.
That file also contains instructions for installing the OxCaml compiler in a way
that it can be used to build OPAM packages.
One-time setup for dev work or installationRead the full README ↗A performance-focused version of OCaml. This is also the home of the Flambda 2 optimiser and the Cfg backend.
OxCaml is currently based on OCaml 5.4 (plus some patches from later upstream revisions, mainly in the runtime).
The following gives basic instructions for getting set up. Please see
HACKING.md for more detailed instructions if you want to develop in this repo.
That file also contains instructions for installing the OxCaml compiler in a way
that it can be used to build OPAM packages.
The supported platforms are x86-64 and arm64 Linux; and arm64 macOS. x86 macOS may still work.
One-time setup:
$ opam switch create oxcaml-dev --empty
$ opam pin add -ny git+https://github.com/oxcaml/oxcaml
$ opam switch set-invariant -y --packages oxcaml-dev
$ eval $(opam env)
You can check that an existing opam switch is using the currently required versions of tools by running:
$ opam upgrade oxcaml-dev
You probably then want to fork the oxcaml/oxcaml repo to your own Github org.
Use normal commands to make a branch from the desired upstream branch (typically main), e.g.:
$ git clone https://github.com/oxcaml/oxcaml
$ cd oxcaml
$ git checkout -b myfeature origin/main
The OxCaml tree has to be configured before building. The configure script is not checked
in; you have to run autoconf. For example:
$ autoconf
$ ./configure --prefix=/path/to/install/dir
To build and install OxCaml, which produces a compiler installation directory whose layout is compatible with upstream, run:
$ make install