Skip to content

Installation

Coral is a Reef package, separate from the standard library bundled with Chelis. The project manifest pins its compiler and package dependencies.

Install the compiler, then create a project and declare Coral in its reef.toml:

Terminal window
chelisup install 0.22.1
chelis +0.22.1 reef init demo --module-prefix Demo --output demo
cd demo

Set the compiler pin and Coral dependency:

[package]
name = "demo"
version = "0.1.0"
compiler = "=0.22.1"
module_prefix = "Demo"
[dependencies]
coral = { version = "0.7.52" }

To have Reef fetch missing dependencies by name, build the project. This route needs GITHUB_TOKEN or an authenticated gh token for GitHub remote discovery:

Terminal window
chelis reef build

To install these public releases without GitHub authentication, install the known tags directly, then build:

Terminal window
chelis reef install --from-github Chelis-Lang/nautilus@v0.7.58
chelis reef install --from-github Chelis-Lang/coral@v0.7.52
chelis reef build

Reef records the resolved versions and hashes in reef.lock. For a project that already has a lockfile, install its compiler, then run chelis reef setup and chelis reef build to restore and build the locked package graph. A lockfile that names public GitHub releases can be replayed without GitHub authentication.

Continue with your first dataframe.