2016-12-05 22:15:40 +01:00
{{implementation|Brainf***}}
RCBF is a set of [[Brainf***]] compilers and interpreters written for Rosetta Code in a variety of languages.
2015-02-20 00:35:01 -05:00
Below are links to each of the versions of RCBF.
2013-04-12 15:51:01 -07:00
An implementation need only properly implement the following instructions:
2015-02-20 00:35:01 -05:00
{| class="wikitable"
!Command
!Description
|-
| style="text-align:center"| <code>></code> || Move the pointer to the right
|-
| style="text-align:center"| <code><</code> || Move the pointer to the left
|-
| style="text-align:center"| <code>+</code> || Increment the memory cell under the pointer
|-
| style="text-align:center"| <code>-</code> || Decrement the memory cell under the pointer
|-
| style="text-align:center"| <code>.</code> || Output the character signified by the cell at the pointer
|-
| style="text-align:center"| <code>,</code> || Input a character and store it in the cell at the pointer
|-
| style="text-align:center"| <code>[</code> || Jump past the matching <code>]</code> if the cell under the pointer is 0
|-
| style="text-align:center"| <code>]</code> || Jump back to the matching <code>[</code> if the cell under the pointer is nonzero
|}
2016-12-05 22:15:40 +01:00
Any cell size is allowed, EOF (<u>E</u>nd-<u>O</u>-<u>F</u>ile) support is optional, as is whether you have bounded or unbounded memory.
<br><br>