zuspec-be-bc
The Zuspec ByteCode (ZBC) backend. It lowers a Zuspec scenario (the
ScenarioModule that zuspec-ir-core builds from a PSS model) to ZBC, a
compact bytecode, and runs it.
It is how pssc executes PSS: activities, constraints solved with dv-solve, flow objects and resources, component trees, and procedural code, all on one action object per activation.
What is in the package
- Lowering (
zuspec.be.bc.lower): Scenario IR to ZBC. A construct it cannot lower is refused with its source location, never dropped. Constraints go through zuspec-solver's shared translator (zuspec.solver.translate). - The
.zbcformat and the value ABI (format,abi). The on-disk layouts are described once; the C header, thectypesoverlay and the Python dataclasses are generated from that description. - The Python interpreter (
interp): the reference implementation. Given a seed, a run is a pure function of the model, and its trace is what the native engine (zuspec-rt-eng) must reproduce.
Documentation
docs/spec/ in the source repository specifies the format, the value ABI,
activations, components, calls, memory, determinism and the trace schema.
docs/oracle.md describes the interpreter.
License
Apache-2.0
Metadata
Release files for zuspec-be-bc 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zuspec_be_bc-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for zuspec_be_bc-0.1.1-py3-none-any.whl |
Release files / zuspec_be_bc-0.1.1-py3-none-any.whl
| Download URL | zuspec_be_bc-0.1.1-py3-none-any.whl |
|---|---|
| Size | 129.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d272f87274f146f97488acbe52ce42ba6176b1df67a7bebaa2644a4b0fb97a62
|
|
BLAKE2b-256 checksum How to use checksums |
3ddf0782ae27d9c352155b610fa5f4624bc515c767091994eeeeecd3f16aa2d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for zuspec-be-bc 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.