secel

Crates.iosecel
lib.rssecel
version0.0.7
sourcesrc
created_at2022-11-14 14:41:55.43677
updated_at2023-11-01 14:51:39.584575
descriptionSECEL parser
homepage
repositoryhttps://github.com/wisbery/secel.git
max_upload_size
id714988
size63,771
Dariusz Depta (DariuszDepta)

documentation

https://docs.rs/secel

README

Simply Enough Condition Expression Language Parser

WORK IN PROGRESS

Simply Enough Condition Expression Language Grammar

      statement = if_expression
                ;
                
  if_expression = `if` `(` condition `;` expression `;` expression `)`
                ;
                
      condition = disjunction { `or` disjunction }
                ;
                
    disjunction = conjunction { `and` conjunction }
                ;
                
    conjunction = `(` condition `)`
                | comparison
                ;
                
     comparison = value (`=` | `<>` | `>` | `<` | `>=` | `<=`) value
                ;
                
     expression = value
                | if_expression
                ;
                
          value = NUMBER
                | NULL
                ;

License

Licensed under either of

at your option.

Contribution

All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 4

cargo fmt