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

#860 in Parser implementations

Download history 73/week @ 2024-10-31 49/week @ 2024-11-07 5/week @ 2024-11-14 4/week @ 2024-11-21 5/week @ 2024-12-05 50/week @ 2024-12-12 243/week @ 2025-01-30 19/week @ 2025-02-06 30/week @ 2025-02-13

292 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

~1–1.4MB
~35K SLoC