Installation

Homebrew(macOS)

  1. $ brew tap hamler-lang/hamler
  2. $ brew install hamler

Install from source code(macOS)

  1. Install Erlang

    1. $brew install erlang@22
  2. Install Stack

    Stack tutoriall https://docs.haskellstack.org/en/stable/install_and_upgrade/

  3. Clone from the Git repo

    1. $ git clone https://github.com/hamler-lang/hamler.git
  4. Install Hamler

    1. $ cd hamler
    2. $ make
    3. $ make install
    4. $ sudo mkdir -p /usr/local/lib/hamler/bin
    5. $ sudo cp repl/replsrv /usr/local/lib/hamler/bin/
    6. $ sudo cp -rv lib /usr/local/lib/hamler/
    7. $ sudo cp -rv ebin /usr/local/lib/hamler/