Category:Extended BrainF***: Difference between revisions

Add language block
(Created page with "'''Extended BrainF***''' is an extension of BrainF***, that aims to make it easier to use. E.g.: * <tt>@</tt> : Ends the program, can be used as a separator between code ...")
 
(Add language block)
 
(One intermediate revision by one other user not shown)
Line 1:
{{language|Extended BrainF***}}
'''Extended BrainF***''' is an extension of [[BrainF***]],
that aims to make it easier to use.
 
There are several more opcodes, e.g.:
E.g.:
* <tt>@</tt> : Ends the program, can be used as a separator between code and data.
 
 
With data already in place, most BF-programs get much shorter, <br>
e.g. standard BF need a lot of work to setup the ASCII-codes:
e.g. a "Hello World"-program in standard BF needs to do a lot of work <br>
<lang bf>
to setup the ASCII-codes of the text:
<lang bf>++++++++++[>+>+++>++++>+++++++>++++++++>+++++++++>++
++++++++>+++++++++++>++++++++++++<<<<<<<<<-]>>>>+.>>>
>+..<.<++++++++.>>>+.<<+.<<<<++++.<++.>>>+++++++.>>>.+++.
<+++++++.--------.<<<<<+.<+++.---.</lang>
</lang>
 
Extended BF just needs a short loop for output:
<lang bf>[.>]@Hello World!</lang>
[.>]@Hello World!
</lang>
 
 
;See:
* http://esolangs.org/wiki/Extended_Brainfuck
10,333

edits