Idris2-boot/INSTALL.md
2019-12-18 21:37:50 +01:00

1.6 KiB

Installation

Idris 2 is built using Idris, and provides support for three default code generation targets: Chez, Chicken, and Racket. It requires at least Idris version 1.3.2 (see https://www.idris-lang.org/download)

Idris

There are several sets of instructions on how to install Idris from source and binary.

Code Generation Targets

Only one of these is absolutely necessary, and you can type check code even with none of them installed. The default code generator targets Chez Scheme.

Chez

Chez Scheme is available to build from source:

Many popular package managers will provide a binary distribution for Chez. Note that homebrew for Mac OS X provides a version without multithreading support, so Mac OS X users will want to build from source.

Note: If you install ChezScheme from source files, building it locally, make sure you run ./configure --threads to build multithreading support in.

Chicken

Chicken scheme offers binary distributions (and source tar balls) from

You can find chicken in many a package manager.

After installing chicken scheme you may need to install the 'numbers' package.

Racket

Racket is available from: