A 1:1 chat, server and client, application in Brainfuck.
The networking layer (TCP sockets, threading) is Python. Everything else, encoding, decoding, length computation, and even the startup banner, is done by running Brainfuck programs through an embedded interpreter.
Open two terminals:
- Terminal 1:
python3 bf_chat.py server - Terminal 2:
python3 bf_chat.py client
Type a message in one terminal and see it appear in the other.
- Terminal 3:
python3 bf_chat.py demo
/quit: Exit the chat/bf: Show the Brainfuck programs used for encoding/decoding/run <code>: Run arbitrary Brainfuck