Building Lasp

How to open a shell, and begin playing around with the Lasp programming system.

Let's look at how to build and operate the Lasp programming system.

System Requirements

Lasp requires that you have:

  • Erlang 19 (or, subsequent later release)
  • Redis (for execution of the test suite via make check)

Building Lasp

Start, by fetching the Lasp repository from GitHub:

$ git clone [email protected]:lasp-lang/lasp.git
Cloning into 'lasp'...
remote: Counting objects: 16974, done.
remote: Compressing objects: 100% (116/116), done.
remote: Total 16974 (delta 75), reused 0 (delta 0), pack-reused 16858
Receiving objects: 100% (16974/16974), 33.04 MiB | 4.09 MiB/s, done.
Resolving deltas: 100% (11961/11961), done.

Then, compile Lasp (requires Erlang 19+):

$ make
/tmp/lasp/rebar3 compile
===> Verifying dependencies...
===> Compiling time_compat
===> Compiling rand_compat
===> Compiling types
===> Compiling goldrush
===> Compiling lager
===> Compiling acceptor_pool
===> Compiling partisan
===> Compiling riak_dt
===> Compiling lasp_support
===> Compiling plumtree
===> Compiling sext
===> Compiling gen_flow
===> Compiling lasp

Finally, verify that your installation is working correctly.

$ make check

Lasp is provided as an Erlang library, so you just need to open an Erlang shell to begin playing with it.

$ make shell

Did this page help you?