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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file tbas-py-0.1.1.tar.gz.

File metadata

  • Download URL: tbas-py-0.1.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for tbas-py-0.1.1.tar.gz
Algorithm Hash digest
SHA256 052b5a2aa49f1123e3087b35c6266bc9f46d6f9df3128091efe87d3e314b4f6e
MD5 d60fc14d992e722f09bf543c7c305a81
BLAKE2b-256 90542ef8cec4da9ef4190dc7edb0bb05d39f4a4159d53e20b2d585077f76e964

See more details on using hashes here.

File details

Details for the file tbas_py-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tbas_py-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for tbas_py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 32a1c4d7fae85fd7b7b2f9a444ec51e9d666b94dc02610bfd9989aeecd93426b
MD5 4640e2b8e224f8e48771ff0b939cb225
BLAKE2b-256 63e463a3f68f4c51964523e5377fc594946510d8ffd399bc36d7bde3ffb2b98f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page