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

#932 in Parser implementations

Download history 3/week @ 2024-11-12 7/week @ 2024-11-19 55/week @ 2024-12-10 224/week @ 2025-01-28 37/week @ 2025-02-04 45/week @ 2025-02-11 2/week @ 2025-02-18

91 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
~35K SLoC