Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gleam-lang/erlang

🐙 Extra code for when running on Erlang
https://github.com/gleam-lang/erlang

beam erlang gleam runtime

Last synced: about 2 months ago
JSON representation

🐙 Extra code for when running on Erlang

Awesome Lists containing this project

README

        

# Gleam Erlang 🐙

A library for making use of Erlang specific code!

## Features

- Typed Erlang processes and message sending.
- Erlang binary format (de)serialisation.
- Functions for working with Erlang's charlists.
- Basic distributed Erlang support and working with nodes.
- Reading and writing of environment variables.
- Functions for working with atoms.

## Usage

Add this library to your Gleam project

```shell
gleam add gleam_erlang
```

And then use it in your code

```gleam
import gleam/io
import gleam/erlang/process

pub fn main() {
let fun = fn() {
io.println("Hello from another process running concurrently!")
}
process.start(fun, True)
}
```

Documentation can be found at .

This library requires OTP 23.0 or higher.