Reia is a Ruby/Python-like language for BEAM, the Erlang VM
Erlang
Pull request Compare This branch is 49 commits behind tarcieri:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
benchmarks
bin
ebin
examples
lib
src
test
.gitignore
LICENSE
README.markdown
Rakefile

README.markdown

Reia

Welcome to Reia (pronounced RAY-uh), a Ruby-like scripting language for the Erlang virtual machine (BEAM).

Compiling Reia

Reia requires Erlang version R12B-3 (5.6.3) or later. The latest version of Erlang is available here:

http://www.erlang.org/download.html

You'll also need Ruby and Rake installed. To compile Reia, type:

rake

After compilation is complete, you'll see the test suite run and if everything went well it should hopefully pass.

Implementation

Here's some thoroughly interesting implementation trivia about Reia:

  • Leex-based scanner
  • Yecc-based grammar (a Neotoma-based branch is also available)
  • Successive parse transforms convert Reia parse trees into the Erlang abstract format, then into BEAM/HiPE bytecode

Links

About the Author

Reia was created by Tony Arcieri, a programmer from Denver, Colorado, USA. Tony has a background in network services and distributed peer-to-peer systems. His favorite programming languages are Ruby and Erlang.