lolli-cli

Crates.iololli-cli
lib.rslolli-cli
version0.2.0
created_at2025-12-04 04:52:32.56821+00
updated_at2025-12-05 04:03:37.99876+00
descriptionCommand-line interface for the Lolli linear logic workbench
homepagehttps://github.com/ibrahimcesar/lolli
repositoryhttps://github.com/ibrahimcesar/lolli
max_upload_size
id1965883
size39,259
Ibrahim Cesar (ibrahimcesar)

documentation

README

lolli-cli

Command-line interface for the Lolli linear logic workbench.

Installation

cargo install lolli-cli

Usage

# Parse a formula
lolli parse "A -o B"

# Prove a sequent
lolli prove "A, B |- A * B"

# Extract a term
lolli extract "A |- A"

# Generate Rust code
lolli codegen "FileHandle |- Contents * ClosedHandle"

# Visualize a proof
lolli viz "A |- A" --format latex

# Interactive REPL
lolli repl

Commands

  • parse - Parse and pretty-print a formula
  • prove - Check if a sequent is provable
  • extract - Extract a term from a proof
  • codegen - Generate Rust code from a proof
  • viz - Visualize a proof
  • repl - Interactive mode

Part of Lolli

This is part of the Lolli linear logic workbench.

License

MIT

Commit count: 0

cargo fmt