tablambda
A pure lambda-calculus interpreter and compiler, realizing the semantics of the
paper paper/tablambda.tex and depending on fixpoints.
pip install tablambda
You write ordinary pure lambda terms, and the interpreter gives them powers a pure language normally lacks:
- Cyclic and infinite data structures, built and transformed directly, with no
letrec, no added recursion construct, and no mutable references. - Automatic memoization and dynamic programming: repeated subproblems are shared for you, with no cache written by hand.
- A diverging loop is detected and returns a meaningless value in finite time instead of hanging.
The companion compiler turns a term into a standalone Python module, so a program written once as a lambda term can also run as compiled code.
No parser is provided: terms are built directly in Python, with a small prelude of the usual combinators, Church numerals, and Scott-encoded lists.
Metadata
Release files for tablambda 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tablambda-0.8.0.tar.gz | 134.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tablambda-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 271.8 kB
Release files / tablambda-0.8.0.tar.gz
| Download URL | tablambda-0.8.0.tar.gz |
|---|---|
| Size | 134.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e40d078cceda5548441d25657f0427cdbfad462eca9b8b4e742c21db1270dee9
|
|
BLAKE2b-256 checksum How to use checksums |
cb190c18d0e43490d448ec963d4380439227fc6d1e8718f4f750073e5b3dccab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency logRelease files / tablambda-0.8.0-py3-none-any.whl
| Download URL | tablambda-0.8.0-py3-none-any.whl |
|---|---|
| Size | 137.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7659d015ded460222b0925d662d66283b76fb85998f260f30c5f86919f50f13e
|
|
BLAKE2b-256 checksum How to use checksums |
c0a2bbf62d5a65c522e7dd20e6336257411e819c8c503a3e63b612c0cb066bcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.
Transparency log