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

#1430 in Parser implementations

Download history 2/week @ 2024-01-04 3/week @ 2024-01-11 6/week @ 2024-01-25 3/week @ 2024-02-01 15/week @ 2024-02-15 74/week @ 2024-02-22 33/week @ 2024-02-29 49/week @ 2024-03-07 119/week @ 2024-03-14 77/week @ 2024-03-21 45/week @ 2024-03-28

290 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.2–4.5MB
~73K SLoC