sieve-parser 0.1.2

Parsing the Sieve language and exporting an abstract representation
Documentation

Sieve Parser

build crates.io docs.rs License: AGPL v3

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.