23 releases (6 breaking)

0.8.5 Nov 6, 2024
0.8.2 Aug 20, 2024
0.8.1 May 27, 2024
0.3.1 Nov 10, 2023
0.2.8 Jun 11, 2023

#916 in Parser implementations

Download history 127/week @ 2024-08-17 10/week @ 2024-08-24 23/week @ 2024-09-14 17/week @ 2024-09-21 26/week @ 2024-09-28 334/week @ 2024-10-05 47/week @ 2024-10-12 2/week @ 2024-10-19 106/week @ 2024-11-02 17/week @ 2024-11-09 6/week @ 2024-11-16 2/week @ 2024-11-23

131 downloads per month
Used in recp

MIT license

26KB
545 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.3MB
~25K SLoC