<commit_before>h1. Reia

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

h2. 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":http://www.erlang.org/download.html

To compile Reia, type:

 make

under the Reia source tree to build Reia.

h2. Installation

If Reia has compiled successfully, type:

 make install
 
to 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.

h2. 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.

h2. 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

h2. Links

* Home Page: "http://reia-lang.org":http://reia-lang.org
* Reia Wiki: "http://wiki.reia-lang.org/":http://wiki.reia-lang.org/
* Mailing List: "http://groups.google.com/group/reia":http://groups.google.com/group/reia
* Author's Blog: "http://unlimitednovelty.com/":http://unlimitednovelty.com/
* Author's Twitter: "http://twitter.com/bascule":http://twitter.com/bascule
* IRC: irc.freenode.net #reia

h2. About the Author

Reia was created by <NAME>, 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.
<commit_msg>Update README with information about the new branch<commit_after>h1. Reia

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

h2. New branch underway!

Looking for the latest Reia developments?  They're not happening here, sorry.
Reia is undergoing a rewrite and the latest code is available here:

"http://github.com/tarcieri/reia/tree/minimalist":http://github.com/tarcieri/reia/tree/minimalist

This branch is preserved as a mostly-working dead end, so people can experiment
with the features the new branch will eventually have until they reach a certain
level of feature parity.  For more information, see the roadmap:

"http://wiki.reia-lang.org/wiki/Roadmap":http://wiki.reia-lang.org/wiki/Roadmap

h2. 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":http://www.erlang.org/download.html

To compile Reia, type:

 make

under the Reia source tree to build Reia.

h2. Installation

If Reia has compiled successfully, type:

 make install
 
to 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.

h2. 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.

h2. 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

h2. Links

* Home Page: "http://reia-lang.org":http://reia-lang.org
* Reia Wiki: "http://wiki.reia-lang.org/":http://wiki.reia-lang.org/
* Mailing List: "http://groups.google.com/group/reia":http://groups.google.com/group/reia
* Author's Blog: "http://unlimitednovelty.com/":http://unlimitednovelty.com/
* Author's Twitter: "http://twitter.com/bascule":http://twitter.com/bascule
* IRC: irc.freenode.net #reia

h2. About the Author

Reia was created by <NAME>, 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.

{'fraction_non_alphanumeric': 0.08637873754152824, 'fraction_numerical': 0.0049833887043189366, 'mean_word_length': 4.059757236227824, 'pattern_counts': {'":': 14, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2170049', 'n_tokens_mistral': 1715, 'n_tokens_neox': 1634, 'n_words': 663}