bada icon indicating copy to clipboard operation
bada copied to clipboard

Simple Programming Language that compiles to BEAM bytecode

Bada

Simple Programming Language that compiles to BEAM bytecode.

Quick Start

Install dependencies:

Compile the Compiler (we don't use Cargo because we don't have any thirdparty dependencies yet):

$ rustc ./src/bada.rs

Compile an example using the Compiler:

$ ./bada ./examples/bada.boom

Load the example into Erlang environment:

$ erl
> code:add_path("./examples/").
> code:load_file(bada).
> bada:hello().
> bada:world().

To reload the Example module:

> code:purge(bada), code:load_file(bada).