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.

Source Distribution

tbas-py-0.1.1.tar.gz (9.6 kB view hashes)

Uploaded source

Built Distribution

tbas_py-0.1.1-py3-none-any.whl (17.5 kB view hashes)

Uploaded py3

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 Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page