| Crates.io | lolli-parse |
| lib.rs | lolli-parse |
| version | 0.2.0 |
| created_at | 2025-12-04 04:34:12.864312+00 |
| updated_at | 2025-12-05 04:02:25.970652+00 |
| description | Parser for the Lolli linear logic workbench |
| homepage | https://github.com/ibrahimcesar/lolli |
| repository | https://github.com/ibrahimcesar/lolli |
| max_upload_size | |
| id | 1965847 |
| size | 24,284 |
Parser for the Lolli linear logic workbench.
Parses linear logic formulas and sequents from text using a PEG grammar.
| Connective | Unicode | ASCII |
|---|---|---|
| Tensor | ⊗ | * |
| Par | ⅋ | | |
| Lolli | ⊸ | -o |
| With | & | & |
| Plus | ⊕ | + |
| Bang | ! | ! |
| Why not | ? | ? |
| Negation | A⊥ | A^ |
| Turnstile | ⊢ | |- |
use lolli_parse::{parse_formula, parse_sequent};
let formula = parse_formula("A -o B").unwrap();
let sequent = parse_sequent("A, B |- A * B").unwrap();
This is part of the Lolli linear logic workbench.
MIT