We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

RISBF

From Esolang
Jump to navigation Jump to search
RISBF
Paradigm(s) imperative
Designed by Michael Gianfreda
Appeared in 2013
Memory system Category:cell-based
Dimensions one-dimensional
Computational class Turing complete
Reference implementation Haskell implementation
Influenced by Brainfuck

RISBF is a brainfuck equivalent with only 4 characters. RISBF stands for Reduced Instruction Set Brain Fuck and was created by Michael Gianfreda, Aug. 14, 2013. A RISBF variant is tinyBF.

Commands

Command Description
* Switch destination (pointer <-> memory cell)
+ Increment selected destination
- Decrement selected destination
/ Start of the following two-character sequence commands:
// Output the character signified by the cell at the pointer. BF equivalent: .
/* Input a character and store it in the cell at the pointer. BF equivalent: ,
/+ Jump past the matching /- if the cell under the pointer is 0. BF equivalent: [
/- Jump back to the matching /+ if the cell under the pointer is nonzero. BF equivalent: ]

Examples

Hello World

++++++++++/+*+*+++++++*+*++++++++++*+*+++*+*+*----*-/-*+*++//*+*+//+++++
++////+++//*+*++//*--*+++++++++++++++//*+//*+++//------//--------//*+*+/
/*+//----

External resources