06 Nov 23

RBBF is based on Brainfuck, but adds multiple pointers. Each of these pointers has a color of their own. On top of having multiple pointers, RBBF decouples the source pointer and the target pointer for each command. For example: in normal brainfuck a “ “ means “load the value at the pointer, increase it by one, then store it at the pointer”. In RBBF the character color is the source, the background color the target. So a red plus on a green background would mean “load the value from pointer to by red, increase it by one, then store it in the byte pointed to by green”. From now on I’ll refer to character color with FG (foreground) and background color with BG (background).

by eli 2 years ago