/TapeBagel-Interpreter

An *extremely* simple interpreter for the esoteric programming language TapeBagel, implemented in Python 2.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

TapeBagel Interpreter

An extremely simple interpreter for the esoteric programming language TapeBagel, implemented in Python 2.

Written as part of the Internetwache CTF 2016, full challenge writeup here

Usage

python tapebagel.py path-to-tb-file

Under the hood

The interpret function expects a single input string, with operations separated by a single space character. The string is split into a list, then iterated through and interpreted against the program environments state array and idx pointer.