bespokelang
Run programs written in the Bespoke esolang.
Installation
bespokelang is installable from PyPI:
pip install --upgrade bespokelang
What is Bespoke?
Bespoke is an esoteric programming language I created in January 2025, based loosely on my earlier language Poetic. The goal was to use the same encoding process as Poetic, but change the underlying structure of the language into something tolerable to write programs with.
I'm very happy with what I came up with; it's been a delight to write the included example programs, and they were much easier to write than most of the Poetic programs I've ever written.
Features of Bespoke
- Imperative paradigm
- Arbitrary precision integers
- A stack, for temporary number storage
- A "heap", for permanent number storage
- IF statements, looping, and functions!
- Comments (which weren't in Poetic, technically)
- Flexible syntax based on word lengths (e.g.
PUSH SEVENTH=tiny pythons)
Documentation
Documentation can be found on the GitHub wiki for this project. A tutorial on how to use each feature of the language is also on the wiki.
Changelog
v1.2.6 (2025-09-05)
- Make
DO ROT/DO ROTINVERSEwith negative numbers behave as documented
v1.2.5 (2025-02-16)
- Fixed bug where
Undefined functionwould not show the function which was undefined - Improved auto-flushing of output buffer
v1.2.4 (2025-02-06)
- Program is now assumed to be in UTF-8
v1.2.3 (2025-02-03)
- Fixed behavior of
DO ROTINVERSEwith an argument outside the range from 1 to the stack size
v1.2.2 (2025-02-03)
- Fixed behavior of
DO TURNOVERNwith an argument of 0
v1.2.1 (2025-02-02)
- Fixed behavior of
CONTROL BandCONTROL RETURNwhen not nested - The output buffer is now flushed every 0.5 seconds
v1.2.0 (2025-01-31)
- Added
--debugoption to CLI, for displaying stack/heap contents after program execution - Added
BespokeInterpreter.from_file()method - Fixed bug where
Specifier was expected, but none foundwould not show the command which expected a specifier - Fixed behavior of
STACKTOP POWwith a second argument of 0 BespokeInterpreterno longer writes error message to STDERR when used as a context manager- Many properties of
BespokeInterpreterobjects are now private, or have getters/setters - CLI now handles file-opening errors
v1.1.0 (2025-01-17)
- Changed
CONTROL RESETLOOPtoCONTROL OTHERWISE
v1.0.2 (2025-01-15)
- Fixed error on empty program
- Fixed behavior of
CONTINUEDnumbers
v1.0.1 (2025-01-15)
- Fixed behavior of
DO ROTandDO ROTINVERSEwith negative numbers
v1.0.0 (2025-01-13)
Initial release.
Metadata
Release files for bespokelang 1.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| bespokelang-1.2.6.tar.gz | 12.5 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bespokelang-1.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.9 kB
Release files / bespokelang-1.2.6.tar.gz
| Download URL | bespokelang-1.2.6.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72204b4459584ad928a975ba44624ce708197ff2278582c5bf76ee1e989b3b88
|
|
BLAKE2b-256 checksum How to use checksums |
be0603638dd1985f30430814f1766545f967adb490022eb14f3162659ac07e5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Sep 5, 2025.
Transparency logRelease files / bespokelang-1.2.6-py3-none-any.whl
| Download URL | bespokelang-1.2.6-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27a21b1c313237b7e595e155c1e7307dea5e23b298e865c59edf1716f86fcc16
|
|
BLAKE2b-256 checksum How to use checksums |
f6d3d492c50b64d7bede340487c42cb32a7594e0717cee952c4bb0d7e5daea51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Sep 5, 2025.
Transparency logSecurity for bespokelang 1.2.6
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for bespokelang-1.2.6.tar.gz
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 Sep 5, 2025.
Transparency logA 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.