marduk
A standalone Python runtime for the PLAN virtual machine.
Status: pre-alpha. The package is a placeholder — the spec-faithful core, BPLAN op coverage, and jet overlay land in subsequent commits. Until then, callers that need a Python PLAN runtime use packages/plan-kernel/'s vendored harness.
Goals
- Spec-faithful core. A direct translation of
vendor/reaver/doc/plan-spec.txt—E/R/H/J/B/S/C/I/Xas Python functions over aThunk-cell value type with update-in-placeforce. Strictness comes from the spec's;sequencing, not from Python's evaluation order. - Complete BPLAN op coverage. All of Reaver's
op 66named primitives, including the IO family that today's harness stubs. - Jet overlay. An optional id-keyed performance layer; correctness lives in the spec-faithful interpreter regardless of jet presence.
- Differential against Reaver. A small Plan Asm corpus run on both Marduk and Reaver in CI.
- No coupling to gallowglass. Marduk imports nothing from gallowglass; gallowglass eventually depends on Marduk as a library.
Non-goals
- Native-speed PLAN execution. Marduk is correctness-first; production workloads belong on Reaver.
- Hosting Reaver-itself-as-BPLAN. A future possibility once IO ops and performance reach the bar; not in scope for the initial release.
Layout
packages/marduk/
├── marduk/ # Python package
│ └── __init__.py
├── tests/
└── pyproject.toml
License
MIT.
Release files for marduk-plan 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| marduk_plan-0.2.1.tar.gz | 47.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| marduk_plan-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 82.6 kB
Release files / marduk_plan-0.2.1.tar.gz
| Download URL | marduk_plan-0.2.1.tar.gz |
|---|---|
| Size | 47.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db2df4b2eb009a65697b026ec87bdf7bdc7ee7eeca5f0982d9a8ae242ed853d3
|
|
BLAKE2b-256 checksum How to use checksums |
2abfa266c351b22fbb93051ed7949e4211f76833bb1872aaedbd2077b51cfb14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / marduk_plan-0.2.1-py3-none-any.whl
| Download URL | marduk_plan-0.2.1-py3-none-any.whl |
|---|---|
| Size | 35.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c3780c53cc1bc86d5ede4b6cc505a75bd40bd5ced6e7c999f1225e2b16e5e94
|
|
BLAKE2b-256 checksum How to use checksums |
75fa31c7139915e8f361ccd02f851752106de32033f9ec578b642e74f477c23d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|