If you are on macOS, install Krill with Homebrew.
brew tap coffee-cup/krill
brew install krill
Run krill --help
to check its installed.
If you are on another platform, download the binary or build it from source.
Build it yourself with Haskell.
cd
into the directory.stack setup
to download the correct version of GHC.stack install --local-bin-path=out/build
to build the application.out/build/krill
to wherever you need it to go.Running krill
with no arguments will launch a repl. In the repl you can
evaluate expressions. Repl specific commands are prefixed with a dot (.
).
.help
will show a list of available commands. Exit the repl with .q
.
You can run a file with krill path/to/file.kr
.