tbas-py

Python interpreter for Tis But A Scratch (Brainfuck derivative)


Keywords
tbas
License
Apache-2.0
Install
pip install tbas-py==0.1.1

Documentation

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