lolli-parse
Parser for the Lolli linear logic workbench.
Parses linear logic formulas and sequents from text using a PEG grammar.
Supported Syntax
| Connective | Unicode | ASCII |
|---|---|---|
| Tensor | ⊗ | * |
| Par | ⅋ | | |
| Lolli | ⊸ | -o |
| With | & | & |
| Plus | ⊕ | + |
| Bang | ! | ! |
| Why not | ? | ? |
| Negation | A⊥ | A^ |
| Turnstile | ⊢ | |- |
Usage
use ;
let formula = parse_formula.unwrap;
let sequent = parse_sequent.unwrap;
Part of Lolli
This is part of the Lolli linear logic workbench.
License
MIT