Skip to main content

Python interpreter for Tis But A Scratch (Brainfuck derivative)

Project description

tbas_python

T🅱AS

Build Status

A set of tools for working with TBAS

pip install tbas-py to install. Requires Python 3.6+

echo "+>++>+++D" | tbas to run the headless interpreter

Includes a TK-based graphical debugger w/ breakpoints:

Screenshot

echo "+>++>+++D" | tbas-gui to run the UI

  • tbas/badge_io.py - Implementations of various IO modes
  • tbas/buffer.py - Implements the FIFO/FILO buffer
  • tbas/corpus.py - Functions that generate TBAS programs to do useful things
  • tbas/datatypes.py - Contains macros used for type hinting
  • tbas/interpreter.py - User interface and driver
  • tbas/machine.py - Contains class that tracks machine state
  • tests/tests.py - unit tests
  • tbas/ui.py - main UI class
  • tbas/util.py - Helper functions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tbas-py, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size tbas_py-0.1.1-py3-none-any.whl (17.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tbas-py-0.1.1.tar.gz (9.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page