Penguin

Differences between version 13 and revision by previous author of Brainf*ck.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 13 Last edited on Sunday, October 26, 2003 8:55:21 am by AristotlePagaltzis Revert
Older page: version 12 Last edited on Tuesday, September 30, 2003 5:32:23 pm by MarcelVanDeSteeg Revert
@@ -1,6 +1,7 @@
-![Brainf*ck]  
 An interesting [ProgrammingLanguage]. It is very easy to learn, but can get extremely confusing. 
+  
+;: '' There is someone in my head, %%% and it is not me. %%% %%% -- Pink Floyd, Brain damage''  
  
 The language has 8 different commands which follow, and included is their purpose. They use a nameless pointer to manipulate an array of (typically) 30000 cells, all initially set to 0. The pointer starts at the left end of the array. 
 ; + : Increment the value of the current cell by 1 
 ; - : Decrement the value of the current cell by 1 
@@ -23,13 +24,11 @@
 * Move to the previous variable 
  
 After this bit of code, the variable we are currently referencing has a value of 2, and the next variable has a value of 4. 
  
-!Sample [HelloWorld] program  
+!!! Examples  
  
-The basic program to display the functionality of a programming language. The text string "Hello World\n"  
-  
-File : helloworld.bf  
+Here's a [HelloWorld] program
  
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++. 
  +++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
  ++++++++++++++++++++++++++++++++++++++++++++.+++++++..+++.>++++++++++++++ 
@@ -39,18 +38,13 @@
  
 A big archive of brainfuck programs and implementations is at http://esoteric.sange.fi/brainfuck/ . 
 There's more info about the language on [this|http://www.muppetlabs.com/~breadbox/bf/] page. 
  
-!Notes 
+!! ! Notes 
 The language has the simple specification to ignore any character in the program source code which is not a valid brainfuck command. This allows us to put comments in our code, as long as we make sure we do not accidentally use one of the language constructs in our comments. 
  
-[GerwinVanDeSteeg] is planning on writing his own Compiler and an Interpreter for this language sometime in the near future. There are some available already on the WorldWideWeb, to find one, try Google.  
-  
-!Brainfux0r  
+[GerwinVanDeSteeg] is planning on writing his own Compiler and an Interpreter for this language sometime in the near future. There are some available already on the WorldWideWeb, to find one, try [ Google]
  
-I've just written one. Insomnia has its own imperatives. Here you go: [brainfux0r.ml | http://www.wave.co.nz/~glyn/brainfux0r.ml]. It is written in [Ocaml]. It has a compiler (it compiles to [C]), an imperative interpreter and a functional interpreter. The functional interpreter has an infinite Turing tape as memory. I wrote and rewrote this program several times to try out various Ocaml features. (I'm following the advice on StuffToCode.) --GlynWebster 
+'' I've just written one. Insomnia has its own imperatives. Here you go: [brainfux0r.ml | http://www.wave.co.nz/~glyn/brainfux0r.ml]. It is written in [Ocaml]. It has a compiler (it compiles to [C]), an imperative interpreter and a functional interpreter. The functional interpreter has an infinite Turing tape as memory. I wrote and rewrote this program several times to try out various Ocaml features. (I'm following the advice on StuffToCode.) --GlynWebster''  
  
------  
-CategoryProgrammingLanguages  
 ---- 
-''There is someone in my head ,''%%%''and it is not me.''  
-;:''-- Pink Floyd, Brain damage''  
+CategoryProgrammingLanguages , CategoryObfuscatedProgrammingLanguages