cbcl-parser 0.3.1

CBCL pure parser and pipeline
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# cbcl-parser

Parse Common Business Communication Language (CBCL) source text into Rust
values. Use `parse` to read an S-expression, `parse_message` to interpret it as
a message, or `run_pipeline` to validate a message against its context.

```sh
cargo add cbcl-parser
```

```rust
use cbcl_parser::{parse, parse_message};

let form = parse(r#"(tell @bob "hello")"#).unwrap();
let message = parse_message(&form).unwrap();
```

[API reference](https://docs.rs/cbcl-parser) ยท [CBCL project](https://github.com/anuna-research/cbcl-rs)