anilang
is a dynamically type language currently under construction.
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
The documentation of the syntax of the language can be found here.
The current syntax is subject to change.