Category:Extended BrainF***

From Rosetta Code

Extended BrainF*** is an extension of BrainF***, that aims to make it easier to use.

There are several more opcodes, e.g.:

  • @ : Ends the program, can be used as a separator between code and data.


With data already in place, most BF-programs get much shorter,
e.g. a "Hello World"-program in standard BF needs to do a lot of work
to setup the ASCII-codes of the text:

++++++++++[>+>+++>++++>+++++++>++++++++>+++++++++>++
++++++++>+++++++++++>++++++++++++<<<<<<<<<-]>>>>+.>>>
>+..<.<++++++++.>>>+.<<+.<<<<++++.<++.>>>+++++++.>>>.+++.
<+++++++.--------.<<<<<+.<+++.---.

Extended BF just needs a short loop for output:

[.>]@Hello World!


See

Pages in category "Extended BrainF***"

The following 3 pages are in this category, out of 3 total.