Every repository with this icon (
Every repository with this icon (
tree dfa7ff59eb17f957bbaff0fdae3f264d616f9cdb
parent ef7503a973fee6045c6a1e4575cc468a99189921
| name | age | message | |
|---|---|---|---|
| |
LICENSE | Sat Aug 22 23:48:59 -0700 2009 | |
| |
Makefile | Sat Jul 18 21:10:19 -0700 2009 | |
| |
README.textile | Sun Apr 05 14:28:26 -0700 2009 | |
| |
Rakefile | Wed Mar 25 23:14:09 -0700 2009 | |
| |
artifacts/ | Sat Jul 18 21:10:19 -0700 2009 | |
| |
bin/ | Tue Mar 31 14:36:01 -0700 2009 | |
| |
ebin/ | Thu Sep 25 19:53:35 -0700 2008 | |
| |
examples/ | Wed Mar 04 21:57:41 -0800 2009 | |
| |
lib/ | Tue Mar 10 21:15:01 -0700 2009 | |
| |
src/ | Sat Apr 18 19:05:32 -0700 2009 | |
| |
test/ | Wed Apr 01 21:49:17 -0700 2009 |
Reia
Welcome to Reia (pronounced RAY-uh), a Ruby/Python-like scripting language for
the Erlang virtual machine (BEAM).
Compiling Reia
Reia requires Erlang version of R12B-3 (5.6.3). The latest version of Erlang
is available here:
http://www.erlang.org/download.html
To compile Reia, type:
makeunder the Reia source tree to build Reia.
Installation
If Reia has compiled successfully, type:
make installto install Reia systemwide. This will install the “reia” and “ire” scripts in
/usr/local/bin. Be sure to add this to your path (or move the scripts
elsewhere) if you’d like to be able to use Reia systemwide.
Usage
Reia provides three ways to execute programs:
- The Reia interpreter, located in bin/reia (or just “reia” if you’ve installed
Reia systemwide). This runs Reia programs from the command line.
- The interactive Reia interpreter, located in bin/ire (or just “ire” if you’ve
installed Reia systemwide). This provides an interactive environment (a
read-eval-print loop) for running Reia programs, or just exploring the
language.
- The Reia static compiler, located in bin/reiac (not installed systemwide).
This compiles Reia to .beam files which may be used in conjunction with
Erlang code. The static Reia compiler is intended for compiling the
self-hosted parts of Reia and is not intended for general-purpose use.
Implementation
Here’s some thoroughly interesting implementation trivia about Reia:
- Leex-based scanner
- Yecc-based grammar
- Compiler transforms Reia abstract forms to Erlang abstract forms or BEAM
bytecode - Partly self-hosted: Reia’s builtin types are mostly written in Reia
Links
- Home Page: http://reia-lang.org
- Reia Wiki: http://wiki.reia-lang.org/
- Mailing List: http://groups.google.com/group/reia
- Author’s Blog: http://unlimitednovelty.com/
- Author’s Twitter: http://twitter.com/bascule
- IRC: irc.freenode.net #reia
About the Author
Reia was created by Tony Arcieri, a programmer from Boulder, Colorado, USA.
Tony has a background in network services and distributed peer-to-peer systems.
His favorite programming languages are Ruby and Erlang.







