17 releases (5 breaking)
0.7.0 | Apr 24, 2024 |
---|---|
0.6.0 | Apr 24, 2024 |
0.5.0 | Apr 23, 2024 |
0.4.3 | Apr 18, 2024 |
0.2.8 | Jun 11, 2023 |
#825 in Parser implementations
603 downloads per month
Used in recp
22KB
467 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.1MB
~23K SLoC