← All repos

alpaca

Functional programming inspired by ML for the Erlang VM

alpacaerlangerlang-vmhindley-milnermlstatically-typed
Browse cluster: Distributed Databases & Data Systems
883commits
18contributors
4languages

Tech stack & purpose

Alpaca is a statically typed, functional programming language designed for the Erlang virtual machine (BEAM), inspired by ML languages. It features type inference based on Hindley-Milner, support for algebraic data types, parametric polymorphism, and type-safe process communication via message passing. The language compiles to BEAM bytecode and integrates with Erlang through a foreign function interface, requiring Erlang OTP 19.3 or above and Rebar3 for project management. Development of Alpaca (formerly known as ML-flavoured Erlang) is tracked on GitHub under the alpaca-lang organization, with editor support available for Emacs, Vim, and Visual Studio Code.

Community & reference links

Languages

Erlang
94.8%
OCaml
5.0%
Shell
0.1%
Makefile
0.1%

Contributors