Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mpope9/krarup

The krarup language, a dialect of Erlang.
https://github.com/mpope9/krarup

erlang

Last synced: about 1 month ago
JSON representation

The krarup language, a dialect of Erlang.

Awesome Lists containing this project

README

        

krarup
=====

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

For more details [see the primer](https://github.com/mpope9/krarup/blob/main/primer.md).
For examples, see [examples/](examples/).

Currently based on Erlang 27.

Install
-------
```erlang
% rebar.config

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

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

Example
-------
```erlang
% src/krarup_example.krp

-module(krarup_example).

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

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

Build
-----

$ rebar3 compile