- This article is a stub, which means that it is not detailed enough and needs to be expanded. Please help us by .
LCCBED stands for "Letter Command Brainf*** Enhanced Derivative". It was created by iamn00b in 2021. Its goal was simple: to make a slightly more confusing yet wonderful variation of Brainf***. As of the time of writing (September 20, 2021), there are no implementations of LCCBED available yet.
Overall, LCCBED programs work in a similar way to Brainf***: Data is stored in cells, and the program moves the cell pointer around and increments/decrements the cell's value. The main difference is that while Brainf*** uses symbols (
<>+-,.), LCCBED uses letters (explained in the next section). Another notable difference is that LCCBED also has several "ease-of-use" commands, as well as arguments ("
()") to ease some of the load off of the programmer.
||Moves the pointer forward ("|
||Moves the pointer backwards ("|
||Increments the value of the active cell ("|
||Decrements the value of the active cell ("|
||Starts a while loop ("|
||Ends the while loop ("|
||Arguments for a command (e.g. |
||References a cell with an argument of position relative to active cell and returns its value (e.g. |
||Similar to r, however, it uses absolute references (ref. point is the very first cell).|
||This command acts as a goto that takes in a number for an absolute reference. |
||This command outputs the active cell's value. It has 2 modes, ASCII and number.|
||This command takes in an input's ASCII value and assigns it to a cell. If the input has multiple digits, it will assign the value of each digit to a different cell.|
||Converts a cell's "mode" from ASCII to number vice versa, depending on whatever was the cell's mode was before conversion. By default, all cells start out in ASCII mode.|
||Text in quotes are comments.|
||Infinite loop with an invalid command, causes the program to hang and terminate.|
Simple single-digit addition
ic 'accepts first input, converts it into a number' f 'moves pointer forward' ic 'accepts second input, converts it into a number' b 'moves back to first cell to prepare while loop' w 'while cell 1 is not 0' ff 'move pointer to cell 3' p 'add 1 to cell 3' b 'back to cell 2' w 'while cell 2 is not zero' f 'go to cell 3' p 'add 1 to cell 3' b 'back to cell 2' m 'reduce cell 2 by 1' e 'jump past this when cell 2 is 0' b 'back to cell 1' m 'reduce cell 1 by 1' e 'jump past this when cell 1 is 0 ff 'go to cell 3' co 'convert it into number mode, then output its value' 'example: input 2 & 3, output 5'
"Hello, World!" the boring way
"Hi!" the interesting way
Truth machine (thanks, Keymaker!)