7 releases (4 breaking)

0.6.0 Dec 1, 2023
0.5.1 Sep 18, 2023
0.5.0 Aug 27, 2023
0.4.0 Aug 27, 2023
0.1.3 Dec 20, 2020

#1402 in Parser implementations

Download history 5/week @ 2024-01-08 9/week @ 2024-01-29 45/week @ 2024-02-19 71/week @ 2024-02-26 13/week @ 2024-03-04 132/week @ 2024-03-11 59/week @ 2024-03-18 51/week @ 2024-03-25 120/week @ 2024-04-01 131/week @ 2024-04-08 57/week @ 2024-04-15 117/week @ 2024-04-22

428 downloads per month
Used in 3 crates (via cel-interpreter)

MIT license

17KB
455 lines

CEL Parser

This module implements a LALRPOP parser for the Common Expression Language.

Usage:

use cel_parser::parse;

pub fn main() {
    let expr = parse("1 + 1").unwrap();
    println!("{:?}", expr);
}

Dependencies

~2.1–4.5MB
~71K SLoC