#programming-language #orion #lexer #executing #lib #parser #runner

orion_lib

A library for parsing and executing the Orion Programming Language

11 releases (7 major breaking)

7.3.0 Jun 29, 2024
6.0.0 May 23, 2024
5.0.0 May 17, 2024
4.0.0 Apr 11, 2024
0.1.0 Feb 4, 2024

#287 in Programming languages

Download history 15/week @ 2024-04-01 144/week @ 2024-04-08 4/week @ 2024-04-15 127/week @ 2024-05-13 182/week @ 2024-05-20 7/week @ 2024-06-03 4/week @ 2024-06-10 286/week @ 2024-06-17 296/week @ 2024-06-24 19/week @ 2024-07-01

602 downloads per month

Custom license

72KB
2K SLoC

orion-lib

A library for parsing and executing the Orion Programming Language


lib.rs:

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(())
}

Dependencies

~8–13MB
~228K SLoC