Let's look at how to build and operate the Lasp programming system.
Lasp requires that you have:
- Erlang 19 (or, subsequent later release)
- Redis (for execution of the test suite via
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... [snip] ===> 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
Updated less than a minute ago