Brainfuck String Generator Generator
Here is a small C program, which takes a string as its input, and generates a (not so trivial) brainfuck code which generates this string.
For a tool to convert brainfuck code into C, see this post
To run the program, first compile it with gcc:
gcc -o bf_generator bf_generator.c
No, run it:
./bf_generator “a string to convert into brainfuck code”
You can also pass a text file as its input through a pipe:
cat testfile.txt | ./bf_generator
Download the source code here: 
Enjoy
No related posts.
3 Comments to Brainfuck String Generator Generator
Leave a Reply
About Me
Tags
Bash
Collaboration
Command Line Interface
Courses
Debug
Ebooks
Email
Facebook
Firefox
Gnome
Google
Hardware
Illusions
Linux
Linux Development
Macros
Manpages
Multimedia
Networks
Object Oriented Programming
Off-Topic
Open Knowledge
Operating Systems
Productivity
Programming
Religion
Science
Security
sed
Sharing
Shell Scripts
Short Posts
Small Code
Social Media
Studies
Terminal
TIps
Tools
Troubleshooting
Ubuntu
University
Vim
Web Development
Web Services
Websites
Categories
- Algorithms
- Bash
- BlackBerry
- Collaboration
- Command Line
- Cool Tricks
- Easter Eggs
- Ebooks
- Firefox
- Hardware
- Humor
- iPhone
- Linux
- Linux Development
- Linux Kernel
- Networks
- Open Knowledge
- Other
- Productivity
- Programming
- Regular Expressions
- Science
- Security
- Shell Scripts
- Short Posts
- Social Networks
- Thoughts
- Tools
- Vim
- Web Development
- Websites
Popular Posts
Calendar
Archives
- September 2010 (2)
- August 2010 (2)
- July 2010 (5)
- June 2010 (1)
- May 2010 (1)
- April 2010 (3)
- March 2010 (1)
- January 2010 (1)
- December 2009 (2)
- September 2009 (13)
- July 2009 (1)
- June 2009 (6)
- May 2009 (4)
- March 2009 (18)
- February 2009 (10)
- January 2009 (10)
- December 2008 (7)
- November 2008 (8)
- October 2008 (1)
- August 2008 (1)
- July 2008 (1)
- June 2008 (1)

I lol’d
(Helped me win a facebook fight, thanks
)
Very Nice!
+++++ +++[> +++++ ++++.++++ ++++.+
+++++ +++++ ++.++ +++++ +.--- ----- ----- -.--- .----
--.++ +++.- --.++ +++++ ++.[- ]++++ [>+++ +++++ .
<++++ +++++ + +.++++ +++.++ +++++ ++. —-.- -.+++ +++++ .++++
+++++ +++.- -.— —-. +++++ .– –.+++
++.– —– —-.> .<++++
++++.+++ +++.++ +++++ +++++ ++. —-.+ ++++. —– –.++ +++.. +++++ +++++
++++. —– —– –+.>. <+
+++++ +++.++++ ++++-. —– –.>.
<++++ +++.—- . —.+ ++.++ +++++ +++++
+.-.+ +++.—- . +++++ +++++ +++.- —–
—– –.>. .<– —-.++++ +++++. –. —–. ++++ ++..– —– —– –.>. <++ ++.— —-. —– —– .>…< —– —.++
+++++ +++++ ++.++ .>..<++ ++.– -.+++ ++.– -.+++ +++++ .—- —– – +.>.< +++ +++++ . ++++ +++.++ .++++ +.>.< ++++ + .— —.++ +++++ ++.– —.- -.–. +++++ ++++.
>.<- —– —. ++++.+ ++++.
+++++ +++++ .—- —– .++++ +++++ ++.. —–
. +++++ ++++. >..< — – .++++ +.— -.>.< —
—– – . +++++ +++.++ ++.– —–
—– –.>. <++ ++.— —-. +++++ +.– —.++ +++++ +++++ +.>… <– —– —-.++ +++++ + .+++. — -
.–.+ +++++ ++.– —-. >..<
—– —-.— —.++ +++.> …< —– –.++ +++++ +.— —–
—-. +++++ +++.+ ++.– -.