Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.12 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.12 KB

RustCI

anilang

anilang is a dynamically type language currently under construction.

Installation

You will need to install the cargo to compile and run the required crates.

To start the repl, run

cargo run -- --help

You can alternatively build the project, and the binary will be available in target/release/anilang.

cargo build --release
./target/release/anilang --help

To install the binary using cargo, run

cargo install --path .

Run tests:

cargo test --workspace

Run benchmarks:

cargo bench --workspace

Alternatively, install cargo-criterion and run:

# Regular output to terminal
cargo criterion --workspace

# additionally format the output into a md table
cargo criterion --workspace --message-format=json | python3 ./.github/format_bench.py > bench.md

Usage

The documentation of the syntax of the language can be found here.

The current syntax is subject to change.