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

#859 in Parser implementations

Download history 122/week @ 2024-11-06 4/week @ 2024-11-13 5/week @ 2024-11-20 5/week @ 2024-12-04 50/week @ 2024-12-11 234/week @ 2025-01-29 28/week @ 2025-02-05

262 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