Skip to content

Instantly share code, notes, and snippets.

View thewithz's full-sized avatar

thewithz thewithz

View GitHub Profile
@thewithz
thewithz / thue.sh
Created April 21, 2021 03:03
An interpreter for the esoteric language thue, written in bash. https://esolangs.org/wiki/Thue
#!/bin/bash
set -e
usage="Usage: thue.sh [-h] [-t] -f <FILE>"
CAN_BE="::="
INPUT_STREAM=":::"
OUTPUT_STREAM="~"
TRACE=0