Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mpope9/krarup
The krarup language, a dialect of Erlang.
https://github.com/mpope9/krarup
erlang
Last synced: 3 months ago
JSON representation
The krarup language, a dialect of Erlang.
- Host: GitHub
- URL: https://github.com/mpope9/krarup
- Owner: mpope9
- License: apache-2.0
- Created: 2024-03-13T17:53:46.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-05-30T23:50:01.000Z (7 months ago)
- Last Synced: 2024-09-30T03:41:47.322Z (3 months ago)
- Topics: erlang
- Language: Erlang
- Homepage:
- Size: 143 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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