#interpreter #side #def #testing

bin+lib bjorn

Another side project interpreter

2 unstable releases

Uses old Rust 2015

0.2.0 Nov 16, 2018
0.1.0 Oct 9, 2018

#10 in #def

33 downloads per month

MIT license

62KB
1.5K SLoC

Build Status Crates.io

Bjørn

Another side project interpreter.

Installation

The easiest way to install the interpreter is to use cargo.

$ cargo install bjorn

Usage

First write some code in bjorn language in a file (ex. test.bj).

def add(a, b):
    return a + b

print(add(1, 1))

Then simply pass the file path as an argument to the bjorn interpreter.

$ bjorn test.bj

It should output :

2

Uninstallation

cargo uninstall bjorn

lib.rs:

Interpreter for bjørn language.

Dependencies

~4.5MB
~83K SLoC