2 releases
0.1.2 | Oct 20, 2023 |
---|---|
0.1.1 | Oct 19, 2023 |
#173 in Email
46KB
1K
SLoC
Sieve Parser
Sieve Parser is a fast parser and AST exporter implemented in Rust for the Sieve language.
Quick start for development
Read and follow the instructions in Developing inside a Container.
Build
make build
Usage (CLI)
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
Testing
cargo test
License
Sieve Parser is distributed under AGPL-3.0-only.
Dependencies
~2.6–4MB
~79K SLoC