Crate orion_lib

source ·
Expand description

Lexer, parser and runner for the Orion Programming Language.

§Aspirations

Out of the box, users get a polished lexer, parser and runner for Orion.

§Example

Run

$ cargo add orion_lib

Then use the functions

use orion_lib::run_contents;
use color_eyre::Result;

fn main() -> Result<()> {
    run_contents("$say(\"Hello, world!\")".to_string(), false)?;
    Ok(())
}

Structs§

Functions§