Elixir

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

Elixir is a dynamic programming language, with a functional paradigm to easily write scalable and maintainable projects. Elixir runs on Erlang's BEAM virtual machine.

Installation

USE flags

USE flags for dev-lang/elixir Elixir programming language

test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

Emerge

root #emerge --ask dev-lang/elixir

Usage

Invocation

user $iex --help
Usage: iex [options] [.exs file] [data]

The following options are exclusive to IEx:

  --dot-iex "PATH"    Overrides default .iex.exs file and uses path instead;
                      path can be empty, then no file will be loaded
  --remsh NAME        Connects to a node using a remote shell

It accepts all other options listed by "elixir --help".