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

orion_lib

A library for parsing and executing the Orion Programming Language

7 releases (major breaking)

6.0.0 May 23, 2024
5.0.0 May 17, 2024
4.0.0 Apr 11, 2024
3.0.0 Mar 14, 2024
0.1.0 Feb 4, 2024

#319 in Programming languages

Download history 36/week @ 2024-02-16 141/week @ 2024-02-23 48/week @ 2024-03-01 227/week @ 2024-03-08 75/week @ 2024-03-15 7/week @ 2024-03-22 12/week @ 2024-03-29 106/week @ 2024-04-05 45/week @ 2024-04-12 259/week @ 2024-05-17 50/week @ 2024-05-24

309 downloads per month

Custom license

46KB
1K 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())?;
    Ok(())
}

Dependencies

~6–10MB
~176K SLoC