17 releases (5 breaking)

new 0.7.0 Apr 24, 2024
0.6.0 Apr 24, 2024
0.5.0 Apr 23, 2024
0.4.3 Apr 18, 2024
0.2.8 Jun 11, 2023

#852 in Parser implementations

Download history 62/week @ 2024-02-26 1/week @ 2024-03-11 13/week @ 2024-04-01 578/week @ 2024-04-15

591 downloads per month
Used in recp

MIT license

22KB
467 lines

recipe-parser

Parser implementation of recipe-lang

Installation

cargo add recipe-parser

Usage

use recipe_parser::{parse, Token};

fn main() {
    let recipe_raw = "Boil {potatoes}(3)";
    let recipe: Vec<Token> = parse(recipe_raw);
    println!("{recipe:?}");
}

Dependencies

~0.8–1.1MB
~22K SLoC