apiel 0.2.0

A subset of the APL programming language implemented in Rust. Exports a macro for evaluating APL expressions from Rust code, providing a way to solve some problems in a very concise manner.
Documentation

apiel

This is the library crate for the apiel interpreter.

apiel is a small subset of the APL programming language implemented in Rust.

The ultimate goal of the project is to export a macro that allows evaluating APL expressions from Rust code, providing a way to solve some problems in a very conscise manner.

Affiliation

This was created as a capstone project for the rustcamp, a Rust bootcamp organized by the Ukrainian Rust Community (website, linked in, telegram, github, youtube, twitter).

Usage

Add the crate to the project.

Call the parse_and_evaluate() function:

match apiel::parse::parse_and_evaluate(&line) {
    Ok(result) => println!("Result: {:?}", result),
    Err(err) => (), // process the error
}