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

orion_lib

A library for parsing and executing the Orion Programming Language

10 releases (major breaking)

new 7.2.0 Jun 24, 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

#263 in Programming languages

Download history 12/week @ 2024-03-03 283/week @ 2024-03-10 22/week @ 2024-03-17 2/week @ 2024-03-24 15/week @ 2024-03-31 139/week @ 2024-04-07 9/week @ 2024-04-14 119/week @ 2024-05-12 187/week @ 2024-05-19 3/week @ 2024-05-26 6/week @ 2024-06-02 4/week @ 2024-06-09 278/week @ 2024-06-16

303 downloads per month

Custom license

68KB
1.5K 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
~227K SLoC