Skip to content

Instantly share code, notes, and snippets.

@jake-low
Last active August 29, 2015 14:08
Show Gist options
  • Save jake-low/ce5f63e9d5e2d934a7e8 to your computer and use it in GitHub Desktop.
Save jake-low/ce5f63e9d5e2d934a7e8 to your computer and use it in GitHub Desktop.
,[.[-],]
copy input stream to output (like a pipe)
>,[>,]<[<]>[.>]
copy input string to output
>,[>,]<[.<]
reverse input
>>,[>>,]<<[[-<+<]>[>[>>]<[.[-]<[[>>+<<-]<]>>]>]<<]
sort input
>,[>>>++++++++[<[<++>-]<+[>+<-]<-[-[-<]>]>[-<]<,>>>-]<.[-]<<]
convert binary to ASCII (eg. "0110100001101001" to "hi")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment