[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/fun/jokes brainfuck.html
From: |
D E Evans |
Subject: |
www/fun/jokes brainfuck.html |
Date: |
Thu, 04 Dec 2008 20:07:33 +0000 |
CVSROOT: /web/www
Module name: www
Changes by: D E Evans <sinuhe> 08/12/04 20:07:33
Modified files:
fun/jokes : brainfuck.html
Log message:
Add suggestion from Andrea Bolognani (see RT 384313).
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/fun/jokes/brainfuck.html?cvsroot=www&r1=1.10&r2=1.11
Patches:
Index: brainfuck.html
===================================================================
RCS file: /web/www/www/fun/jokes/brainfuck.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- brainfuck.html 5 Nov 2008 00:45:26 -0000 1.10
+++ brainfuck.html 4 Dec 2008 20:07:30 -0000 1.11
@@ -26,6 +26,19 @@
</pre>
<p>
+The following was offered from Andrea Bolognani, with the following
+comment: The above version<q>reads from standard input until it
+encounters a EOF character, and then starts printing <code>?</code>
+in an infinite loop. I've written a drop-in replacementâ¦as an added
+bonus, this version uses only 69 instructions, which is 30 less than
+the one</q> above.
+</p>
+
+<pre>
+++[>+++++[>++++++<-]<-]++[>+++++<-]>>+++<<+[[,----------]>>.<.<+]
+</pre>
+
+<p>
More information about Brainfuck language: <a
href="http://en.wikipedia.org/wiki/Brainfuck">http://en.wikipedia.org/wiki/Brainfuck</a>
</p>
@@ -38,6 +51,10 @@
obtained from the FSF's <a href="http://lists.gnu.org/">email
archives</a> of the GNU Project.</p>
<p>The Free Software Foundation claims no copyright on this joke.</p>
+<p>
+The code from Andrea Bolognani is <q>licensed under the terms of the
+GNU GPL, version 2 or later.</q>
+</p>
</div>
</div>
@@ -65,7 +82,7 @@
<p>
Updated:
<!-- timestamp start -->
-$Date: 2008/11/05 00:45:26 $
+$Date: 2008/12/04 20:07:30 $
<!-- timestamp end -->
</p>
</div>
- www/fun/jokes brainfuck.html,
D E Evans <=