25 releases

0.8.7 Jan 30, 2025
0.8.5 Nov 6, 2024
0.8.1 May 27, 2024
0.3.1 Nov 10, 2023
0.2.8 Jun 11, 2023

#651 in Parser implementations

Download history 103/week @ 2025-01-24 149/week @ 2025-01-31 12/week @ 2025-02-07 44/week @ 2025-02-14

1,384 downloads per month
Used in recp

MIT license

29KB
594 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.9–1.4MB
~34K SLoC