mpope9 / krarup

The krarup language, a dialect of Erlang.
Apache License 2.0
6 stars 0 forks source link
erlang

krarup

krarup is an Erlang dialect for composing concurrent data processing flows.

For more details see the primer. For examples, see examples/.

Currently based on Erlang 27.

Install

% rebar.config

{plugins, [{krarup, {git, "https://github.com/mpope9/krarup/", {branch, "main"}}}]}.

This will search for .krp files in the src/ directory.

Example

% src/krarup_example.krp

-module(krarup_example).

async sum(List) ->
    lists:sum(List).

main() ->
    await linked sum([1, 2, 3]).

Build

$ rebar3 compile