A tiny, in-browser Brainfuck interpreter served via Docker.
# Build image
docker build -t brainfuck-web .
# Run (open http://localhost:3000)
docker run -p 3000:3000 --rm brainfuck-web++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.++++++[>++++++++<-]>++.>++++++[>++++++++<-]>+.++++++ Set cell #0 to 6
[ WHILE cell #0 != 0
>++++++++ Add 8 to cell #1
<- Decrement cell #0
] END WHILE
→ cell #1 now = 6 × 8 = 48 (ASCII '0')
>++. Go to cell #2, add 2 → 2
Print cell #2 → ASCII 50 → '2'
>++++++ Go to cell #3, set to 6
[>++++++++<-] Multiply cell #3 × 8 → cell #4 = 48 (ASCII '0')
>+ Go to cell #5, add 1 → 1
. Print cell #5 → ASCII 49 → '1'- Builds the ASCII value 48 (the character '0') in two separate cells using a multiplication loop (6 × 8 = 48).
- Adds 2 to the first '0' → becomes 50 → prints 2
- Adds 1 to the second '0' → becomes 49 → prints 1