Skip to content

diskuv/dkml-installer-ocaml-byte

Repository files navigation

DkML Installer - Bytecode Edition

There is a more-powerful but slower-to-install version of the installer available as the DkML Installer - Native Code Edition that may require Administrator permissions. This Bytecode edition was only meant for education and has been discontinued due to limited uptake.

DkML Bytecode Edition is an open-source set of software that supports software development in pure OCaml. The Bytecode Edition's strengths are its:

  • full compatibility with OCaml standards like Opam, Dune and ocamlfind
  • laser focus on "native" development (desktop software, mobile apps and embedded software) through support for the standard native compilers like Visual Studio and Xcode
  • ease-of-use through simplified installers and simple productivity commands; high school, college and university students should be able to use it
  • security through reproducibility, versioning and from-source builds

These alternatives may be better depending on your use case:

  • Developing in a Javascript first environment? Have a look at Esy and Reason
  • Developing operating system kernels? Have a look at Mirage OS
  • Developing Linux server software like web servers? Plain old OCaml on Debian, etc. works well
  • Writing compilers or proofs? Plain old OCaml works really well

The DkML Installer for OCaml generates and distributes installers for the DkML distribution. Windows, Debian/x86_64 and macOS/Silicon are ready today.

For news about DkML, Twitter URL on Twitter.

Installing

Windows user?

Run the latest Windows 64-bit Bytecode Edition installer.

After your install is completed, you can read the Install is done! What next? documentation.


The full set of releases is at https://gitlab.com/dkml/distributions/dkml/-/releases

The full documentation is at https://diskuv.com/dkmlbook

Sponsor

OCSF logo Thanks to the [OCaml Software Foundation](https://ocaml-sf.org) for economic support to the development of DkML.

How the installer is built

We use the dkml-install-api to generate installers from the following Opam packages:

Building from Source

On Windows, if you have already installed OCaml:

with-dkml opam install . --with-test --with-doc --deps-only
with-dkml dune build

On Unix:

opam install .--with-test --with-doc --deps-only
dune build

Contributing

The installer makes heavy use of the dkml-install-api. See the Contributors section of dkml-install-api.

In addition, there are

Status

What Branch/Tag Status
Installer build and test Build with DkML compiler
Installer syntax check Syntax check