Esolang Interpreters
Interpreters and Boolean generators for 78 esoteric languages: 76 text and 2 raster.
generate takes a truth table and returns a program computing it;
evaluate runs a supplied program on every row and returns what it answers.
Start with the CLI or Python API. The usage guide covers inputs, templates, answers, and debugging. Limitations records contracts; the roadmap tracks open work.
Command line
python -m pip install esolangs
esolangs --help
esolangs list
esolangs generate Suffolk 0110 > program.txt
printf '01' | esolangs run Suffolk program.txt
esolangs generate brainfuck 0110 > bf.txt
printf '01' | esolangs debug --steps 20 --watch-cell 0 brainfuck bf.txt
The Polynomial interpreter needs the optional mathematics extra:
pip install 'esolangs[math]'. PNG loading and saving need
pip install 'esolangs[image]'; in-memory raster programs need neither extra.
Python API
import esolangs
program = esolangs.generate("Fargo", "10010110")
esolangs.evaluate("Fargo", program, timeout=None, inputs=3) # -> '10010110'
evaluate returns the answers observed over every input row; compare the
result with an expected table, or use CLI evaluate --table TABLE.
Termination answers require a proved halt or cycle; reaching a timeout raises
ExecutionTimeoutError.
The default row timeout requires a Unix main thread. timeout=None disables
that bound and also works on Windows and worker threads.
Run each program with its intended language: a Suffolk program may run as
brainfuck but produce the wrong answer. Input formats also vary; use
encode_inputs
to build stdin.
Examples
esolangs generate Sophie 0110 emits 20 characters computing XOR:
;@0{;}{;@0{#1}{#0}},
Feeding it the two adjacent input characters prints their XOR.
Stepping a program
Generate a program with esolangs generate Flowchart 0110 > flowchart.txt, then run
esolangs debug --tui --stdin 01 Flowchart flowchart.txt in a terminal.
Here is Flowchart at step 14:
Flowchart step 14 ip (1, 57, 0, -1) running
--------------------------------------------------------------------------
1 | ───────────┐ ┌< ]──┐
2 | \ \─\{ }/─< >─/ /┴────< >─/ /─\[ ]/─{ ]─\[ ]/─[ >─\[ ]/─[ }─\[ ]/─{ ]─
--------------------------------------------------------------------------
memory 0 1 1
stack (empty)
output ''
views deques={0: [0, 1], 1: [1]} pointers=[_Pointer(row=1, col=57, d=(
hjkl move | t break | space step | c continue | r run | b back | q quit
See debugging for controls.
Ready-to-run programs for each of the 77
languages with a boolean generator live in
examples/.
Implemented languages
Familiar languages include brainfuck, Befunge, Piet, INTERCAL, and Malbolge.
Show all 78 languages
Grid-based Languages
Languages that move a pointer or beam across a 2D grid.
- A Painter Ant (code)
- Alight (code)
- ArrowQueue (code)
- B-tapemark (code)
- Befunge (code)
- Circuit Diagram (code)
- Clockwise (code)
- Dig (code)
- EGL (code)
- Fish (code)
- Flowchart (code)
- LaserFuck (code)
- Streetcode (code)
- Super SNUSP (code)
- thisthat (code)
Stack-based Languages
Languages that use a stack for data manipulation.
- 3x (code)
- BF-PDA (code)
- BFStack (code)
- Eval (code)
- FALSE (code)
- Forþ (code)
- Grapheme (code)
- Modulous (code)
- Piet (code)
- Underload (code)
- Unsquare (code)
Queue-based Languages
Languages whose primary data structure is a queue or deque.
- Bitdeque (code)
- Bitwise Cyclic Tag (code)
- Cyclic tag (code)
- Taglate (code)
Tape-based Languages
Languages that operate on a tape (similar to Turing machines).
- 123 (code)
- 3D Brainfuck (code)
- 6-5 (code)
- Back (code)
- Boolfuck (code)
- BrainIf (code)
- Circlefuck (code)
- Dimensional (code)
- Factor (code)
- Home Row (code)
- Jaune (code)
- Line (code)
- Minifuck (code)
- NoComment (code)
- Painfuck (code)
- ROTfuck (code)
- S*bleq (code)
- SLOW ACV MAMMALIAN (code)
- Smallfuck (code)
- Subleq (code)
- Suffolk (code)
- bit~ (code)
- brainfuck (code)
Register-based Languages
Languages that use registers to store and manipulate data.
- AddSubJump (code)
- BIO (code)
- Collatz Multiverse (code)
- Deadfish (code) (interpreter-only)
- Decleq (code)
- Minsky Swap (code)
- Polynomial (code)
- Qoibl (code)
- RAM0 (code)
- Sophie (code)
Other Languages
Languages that don't fit into the above categories.
Line and Piet use the tape and stack interpreter families; their suites run
with the rest by just test.
Generators
The truth table is a binary string of length 2**n, most-significant input
first; its length implies n, so it isn't passed separately. 77 of the
languages have such a generator, some covering only a documented subset of
tables.
esolangs list --details marks generators (gen), templates (tmpl),
and committed examples (ex). See the
usage guide
for input conventions and benchmarking.
Contributing
See contributing for setup and verification, and architecture for the execution path. The project is GPL v3; see LICENSE.
Metadata
Release files for esolangs 0.7.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 | |
|---|---|---|---|
| esolangs-0.7.0.tar.gz | 993.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| esolangs-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.0 MB
Release files / esolangs-0.7.0.tar.gz
| Download URL | esolangs-0.7.0.tar.gz |
|---|---|
| Size | 993.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8c8c5103ef0950ff2f73a77f07b51cf8c2c28a03eae1e289ace72cb20e4d259
|
|
BLAKE2b-256 checksum How to use checksums |
bad150eba2d91422693d87ec286aeb310d6388e6309dc217f1d7fe78ac526d64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 3, 2026.
Transparency logRelease files / esolangs-0.7.0-py3-none-any.whl
| Download URL | esolangs-0.7.0-py3-none-any.whl |
|---|---|
| Size | 975.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27d42803a78f91ba4fa0db9393dee4e26936afbdc5b62529742c288f23ef0b73
|
|
BLAKE2b-256 checksum How to use checksums |
0b6f6bbdaaedbdfacde64ba3b0fd33138e3342c118669b1a7ee15598925aa6fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 3, 2026.
Transparency log