Crates.io | sieve-parser |
lib.rs | sieve-parser |
version | 0.1.2 |
source | src |
created_at | 2023-10-19 16:10:39.359505 |
updated_at | 2023-10-20 20:34:34.714077 |
description | Parsing the Sieve language and exporting an abstract representation |
homepage | https://github.com/plivox/sieve-parser |
repository | |
max_upload_size | |
id | 1007952 |
size | 122,218 |
Sieve Parser is a fast parser and AST exporter implemented in Rust for the Sieve language.
Read and follow the instructions in Developing inside a Container.
make build
With -f|--file
argument:
sieve-parser --file resources/assets/tricky-rule1.sieve
With stdin:
cat resources/assets/tricky-rule1.sieve | sieve-parser
or
sieve-parser < resources/assets/tricky-rule1.sieve
cargo test
Sieve Parser is distributed under AGPL-3.0-only.