SelfCopyCode is an interactive web-based editor that allows you to write and execute code in BFF (Brainfuck++), and visually explore how the output is generated.
BFF was introduced in the paper Computational Life: How Well-formed, Self-replicating Programs Emerge from Simple Interaction, as a Brainfuck extension to study the emergence of self-replicating programs.
This tool provides a hands-on way to understand and visualize how a minimal self-replicator operates at the instruction level.
- Write and run BFF code in your browser
- Step-by-step visualization of code execution
- Displays memory cells, instruction pointer, and output
- Demonstrates self-replication in action
Interactive editor:
Animation of a self-replicating program:
Code shown:
[[{.>]-] ]-]>.{[[
➡️ Launch the editor here: https://adebiasi.github.io/SelfCopyCode/main.html
- 📄 Paper: Computational Life: How Well-formed, Self-replicating Programs Emerge from Simple Interaction
- 📺 YouTube Video: Random Code Can Learn to Self-Replicate, New Study Finds

