dyon 0.51.0

A rusty dynamically typed scripting language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern crate dyon;

use dyon::{error, run};

fn main() -> Result<(), ()> {
    let file = std::env::args_os()
        .nth(1)
        .and_then(|s| s.into_string().ok());
    if let Some(file) = file {
        if error(run(&file)) {Err(())} else {Ok(())}
    } else {
        eprintln!("dyonrun <file.dyon>");
        Err(())
    }
}