qalam 0.3.1

Interpreter for the Qalam programming language. Qalam is a dead-simple, Urdu inspired, interpreted programming langauge.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::process::Command;

static EXAMPLE_NAME: &str = "closure";

fn main() {
    let status = Command::new("cargo")
        .arg("run")
        .arg("--")
        .arg(format!("./examples/{}/main.qlm", EXAMPLE_NAME))
        .status()
        .expect("Failed to execute process");

    if !status.success() {
        eprintln!("Command failed with status: {:?}", status)
    }
}