Poetic + Bespoke - Python interpreters and website
This repository contains two esolangs:
- Poetic (Brainfuck-style tape model)
- Bespoke (stack/heap model with structured control flow)
Main entry points:
poetic.py- Poetic CLI interpreterbespoke.py- Bespoke CLI interpretertests/run_poetic_tests.py- Poetic smoke teststests/run_bespoke_tests.py- Bespoke smoke tests
Language runtimes:
tools/poetic/poetic_engine.pytools/bespoke/bespoke_engine.py
Example programs:
examples/poetic/*.ptcexamples/bespokelang/*.bspk
Website files:
site/
- Python 3.10+
Basic usage:
python poetic.py examples\poetic\hello.ptcWimpmode:
python poetic.py -w examples\poetic\bonjour.ptcBasic usage:
python bespoke.py examples\bespokelang\helloworld.bspkWith input file:
python bespoke.py -i input.txt examples\bespokelang\sum_two_numbers.bspkpython tests\run_poetic_tests.py
python tests\run_bespoke_tests.pyPOETIC_LANGAGE.MDPOETIC_CLI.mdBESPOKE_LANGAGE.MDBESPOKELANG_CLI.mdCHANGELOG_BESPOKE.md
- The
site/folder is the website source used for GitHub Pages. - Historical migration notes remain in
CHANGELOG_BESPOKE.md.