Software › Hello World!
Hello World!
demo Open · freely redistributable
A short, public-domain Brainfuck program that prints the twelve characters of “Hello World!\n”. It sets up a handful of memory cells with a single initialisation loop, then emits each character — a quick way to confirm a Brainfuck interpreter loads a program, runs its loops, and renders output. The file is heavily commented (Brainfuck ignores every non-command character).
Format: Brainfuck source (.bf), ASCII text · By: emulators.org · Licence: Public domain
Runs on
Preview
Full file (457 bytes) — offset, bytes, ASCII.
00000000 48 65 6C 6C 6F 20 57 6F 72 6C 64 20 69 6E 20 42 Hello World in B
00000010 72 61 69 6E 66 75 63 6B 20 20 20 70 75 62 6C 69 rainfuck publi
00000020 63 20 64 6F 6D 61 69 6E 20 64 65 6D 6F 20 66 6F c domain demo fo
00000030 72 20 65 6D 75 6C 61 74 6F 72 73 20 6F 72 67 0A r emulators org.
00000040 42 72 61 69 6E 66 75 63 6B 20 68 61 73 20 65 69 Brainfuck has ei
00000050 67 68 74 20 63 6F 6D 6D 61 6E 64 73 20 20 20 72 ght commands r
00000060 69 67 68 74 20 6C 65 66 74 20 70 6C 75 73 20 6D ight left plus m
00000070 69 6E 75 73 20 64 6F 74 20 63 6F 6D 6D 61 20 6F inus dot comma o
00000080 70 65 6E 20 63 6C 6F 73 65 0A 54 68 69 73 20 63 pen close.This c
00000090 6C 61 73 73 69 63 20 70 72 6F 67 72 61 6D 20 73 lassic program s
000000a0 65 74 73 20 75 70 20 61 20 66 65 77 20 6D 65 6D ets up a few mem
000000b0 6F 72 79 20 63 65 6C 6C 73 20 77 69 74 68 20 61 ory cells with a
000000c0 20 6C 6F 6F 70 20 74 68 65 6E 20 70 72 69 6E 74 loop then print
000000d0 73 0A 74 68 65 20 74 77 65 6C 76 65 20 63 68 61 s.the twelve cha
000000e0 72 61 63 74 65 72 73 20 6F 66 20 74 68 65 20 67 racters of the g
000000f0 72 65 65 74 69 6E 67 20 20 4F 6E 6C 79 20 74 68 reeting Only th
00000100 65 20 65 69 67 68 74 20 63 6F 6D 6D 61 6E 64 20 e eight command
00000110 73 79 6D 62 6F 6C 73 20 72 75 6E 0A 65 76 65 72 symbols run.ever
00000120 79 74 68 69 6E 67 20 65 6C 73 65 20 68 65 72 65 ything else here
00000130 20 69 6E 63 6C 75 64 69 6E 67 20 74 68 69 73 20 including this
00000140 74 65 78 74 20 69 73 20 74 72 65 61 74 65 64 20 text is treated
00000150 61 73 20 61 20 63 6F 6D 6D 65 6E 74 0A 0A 2B 2B as a comment..++
00000160 2B 2B 2B 2B 2B 2B 5B 3E 2B 2B 2B 2B 5B 3E 2B 2B ++++++[>++++[>++
00000170 3E 2B 2B 2B 3E 2B 2B 2B 3E 2B 3C 3C 3C 3C 2D 5D >+++>+++>+<<<<-]
00000180 3E 2B 3E 2B 3E 2D 3E 3E 2B 5B 3C 5D 3C 2D 5D 3E >+>+>->>+[<]<-]>
00000190 3E 2E 3E 2D 2D 2D 2E 2B 2B 2B 2B 2B 2B 2B 2E 2E >.>---.+++++++..
000001a0 2B 2B 2B 2E 3E 3E 2E 3C 2D 2E 3C 2E 2B 2B 2B 2E +++.>>.<-.<.+++.
000001b0 2D 2D 2D 2D 2D 2D 2E 2D 2D 2D 2D 2D 2D 2D 2D 2E ------.--------.
000001c0 3E 3E 2B 2E 3E 2B 2B 2E 0A >>+.>++..