#!/usr/bin/env /friends/bin/bfscript # any non-instruction chars are simply ignored 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef 0 +++++++++++++++++++++++++++++++ # say fizzbuzz($_) for 1..30 1 >++++++++++>->>>>>>>>>>-->+++++++[->++++++++++<]>[->+>+>+>+<<<<] 2 +++>>+++>>>++++++++[-<++++<++++<++++>>>]+++++[-<++++<++++>>]>--> 3 ++++++[->+++++++++++<]>[->+>+>+>+<<<<]+++++>>+>++++++>++++++>+++ 4 +++++[-<++++<++++<++++>>>]++++++[-<+++<+++<+++>>>]>-->---+[-<+]- 5 <<[->>>+>++[-->++]-->+++[---<-->+>-[<<++[>]]>++[--+[-<+]->>[-]++ 6 +++[---->++++]-->[->+<]>>[.>]>++]-->+++]---+[-<+]->>-[+>++++++++ 7 ++<<[->+>-[>+>>]>[+[-<+>]>+>>]<<<<<<]>>[-]>>>++++++++++<[->->+<< 8 ]>[-]>[<++++++[->++++++++<]>.[-]]<<++++++[-<++++++++>]<.[-]<<[-< 9 +>]]<<<.<] a b c d e f