17 releases (5 breaking)

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

#825 in Parser implementations

Download history 27/week @ 2024-02-22 35/week @ 2024-02-29 1/week @ 2024-03-07 9/week @ 2024-03-28 4/week @ 2024-04-04 401/week @ 2024-04-11 454/week @ 2024-04-18 102/week @ 2024-04-25

603 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
~23K SLoC