csw-cli-0.1.0 is not a library.
csw-cli
Command-line interface for the Categorical Semantics Workbench.
Installation
Or build from source:
Usage
Show a Derived Type System
# Show Simply-Typed Lambda Calculus
# Show Linear Lambda Calculus
# Show Affine types (Rust-like)
Generate Code
# Generate Rust code for STLC
# Generate with specific target
Validate a Specification
Built-in Examples
| Example | Description |
|---|---|
stlc |
Simply-Typed Lambda Calculus (Cartesian Closed Category) |
linear |
Linear Lambda Calculus (Symmetric Monoidal Closed Category) |
affine |
Affine types, Rust-like (can drop, cannot clone) |
bccc |
Bicartesian Closed Category (STLC + sum types) |
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.