| Crates.io | ccs |
| lib.rs | ccs |
| version | 0.1.0 |
| created_at | 2024-12-31 13:31:01.303876+00 |
| updated_at | 2024-12-31 13:31:01.303876+00 |
| description | A simple implementation of the Calculus of Communicating Systems by Robin Milner |
| homepage | https://github.com/jzbor/ccs |
| repository | https://github.com/jzbor/ccs |
| max_upload_size | |
| id | 1500032 |
| size | 23,060,129 |
With Cargo:
$ cargo build --release
$ export PATH="$(realpath target/release/):$PATH"
With Nix:
$ nix shell
There are two benchmarking scripts:
benchmark.py to execute the benchmarkrender_benchmark.py to create diagram visualizationsRunning the benchmarks with Nix:
$ nix run .#benchmark
$ nix run .#render-benchmark
Running benchmarks without Nix (requires Cargo, Python 3 and matplotlib):
$ cargo build --release
$ python3 benchmark.py
$ python3 render_benchmark.py
See benchmark.py --help for optional parameters or view the 3D diagram with render_benchmark.py show.