Skip to content

Instantly share code, notes, and snippets.

@gabrielleme00
Created January 7, 2019 04:34
Show Gist options
  • Save gabrielleme00/8d23521d6ccf5d1fd39cd0049b4d7e91 to your computer and use it in GitHub Desktop.
Save gabrielleme00/8d23521d6ccf5d1fd39cd0049b4d7e91 to your computer and use it in GitHub Desktop.
Code golf - print the alphabet in BF
# "Legit" way (no input) [51 bytes]:
>+++++[<+++++++++++++>-]>++++[<+++++++>-]<--[<.+>-]
# "Not-so-legit" way (needs 'A' as input) [27 bytes]:
,.>>+++++[<+++++>-]<[<+.>-]
# "Even-less-legit" way (needs 'A' and '[space]' as inputs) [15 bytes]:
,.>,----[<+.>-]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment