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.

Rasputin

From Esolang
Jump to navigation Jump to search

Rasputin is a accidental Brainfuck semi-joke variant that literally only uses lyrics from Boney M's song, Rasputin. The reason why it is accidental is because I, User:A random guy, literally didn't realized I made a single-slot memory version of Brainfuck until it was too late.

Basics of Rasputin

Rasputin, just like Brainfuck, has a pointer, but unlike Brainfuck, it has one singular cell of memory, needs a indicator for when the program ends, plus needs indentation for it's loops, like Python, and other new things that will be explained below:

Here are the basic commands for Rasputin:

Memory and Data
Command/Instruction Action
Ra Bumps up a selected array slot by one.
Rasputin Bumps down a selected array slot by one
There lived a certain man in Russia long ago Saves array slot into the selector’s single slot memory
"This man's just gotta go" Replaces whatever array slot the selector is on with what is in the selector’s memory slot.
"Don't you try to do it, please" Resets the memory slot back to 0.
There was a cat that really was gone Resets the current array slot the Selector is on back to 0.
Lover of the Russian Queen Duplicates a array slot and adds it to itself.
But to Moscow Chicks he was such a lovely dear Adds the array slot that the selector is on with the slot in the selector’s memory slot.
Most people looked at him with terror and fear Subtracts the array slot that the selector is on with the slot in the selector’s memory slot.
Set a trap, they're not to blame Inverts the sign of a array slot.
Russia's greatest love machine Prints out what is in the memory slot.
He could preach the Bible like a preacher Converts what is in memory into ASCII characters.
Oh... Those Russians... Literally ends the program.
Moves
Command/Instruction Action
"I feel fine" Moves right.
It was a shame how he carried on Moves left.


Loops
Command/Instruction Action
And he really came A loop.
Though she'd heard the things he done A loop that loops (the number that is in the selector's memory slot) times, and cannot be edited again by iterations of a greater loop.
And so they shot him till he was dead Ends any kind of loop.
Special Instruction
Command/Instruction Action
Hey! Sets the base to Base (amount of times Hey! is repeated), this allows you to print IN that base. (Can use any valid base that isn't 1 or 0. It can however, use any other base.) This must ALWAYS be used at the start to specify what base you are using, but afterwards, you can use it as many times as you want to shift what base you are using. (This action also makes the entire unbounded array be represented in that base)
But he also was the kind of teacher Makes the program concatenate a character every time a output is done until this is changed.
Women would desire Makes the output print line by line until this is changed. This is the default method of output used.


The quotes ("") in Rasputin do not represent strings at all, but instead were wrapped around such lines in the website that I used that had the lyrics of the song. That is practically it for Rasputin. Time for the code.

Programs in Rasputin

Incrementing to 20 in Base 10 compared to Base 16

Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey!
Ra
Ra
Ra
Ra
There once was a man in Russia long ago
There was a cat that really was gone
Ra
Though she’d heard the things he done
	Lover of the Russian Queen
	There lived a certain man in Russia long ago
	Russia's greatest love machine
And so they shot him till he was dead
Ra
here lived a certain man in Russia long ago
Russia's greatest love machine
Ra
here lived a certain man in Russia long ago
Russia's greatest love machine
There was a cat that really was gone
Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey!
Ra
Ra
Ra
Ra
here lived a certain man in Russia long ago
There was a cat that really was gone
Ra
Though she’d heard the things he done
	Lover of the Russian Queen
	here lived a certain man in Russia long agoo
	Russia's greatest love machine
And so they shot him till he was dead
Ra
here lived a certain man in Russia long ago
Russia's greatest love machine
Ra
here lived a certain man in Russia long ago
Russia's greatest love machine
Oh... Those Russians...

Output:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10
11
12
13

Main Part of Rasputin (With 2 extra Russia's greatest love machine to show the fact that it moved slots and other necessary things.)... in Rasputin.

Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey!
Ra
Ra
Rasputin
Lover of the Russian Queen
Russia's greatest love machine
There was a cat that really was gone
Ra
Ra
Rasputin
Russia's greatest love machine
It was a shame how he carried on
Russia's greatest love machine
Oh... Those Russians...

Output:

2
1
0

Hello World

Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey! Hey!
But he was also the kind of teacher
Ra
Ra
Ra
Ra
Ra
Ra
There lived a certain man in Russia long ago
There was a cat that really was gone
Ra
Though she’d heard the things he done
	Lover of the Russian Queen
And so they shot him till he was dead
There was once a man in Russia long ago
There was a cat that really was gone
Ra
Ra
Ra
”I feel fine”
”This man’s just gotta go”
It was a shame that he carried on
There was once a man in Russia long ago
There was a cat that really was gone
Ra
Though she’d heard the things he done
	Lover of the Russian Queen
And so they shot him till he was dead
There was once a man in Russia long ago
”I feel fine”
But to Moscow Chicks he was such a lovely dear
He could preach the Bible like a preacher
There was a cat that really was gone
”Don’t you try to do it, please”
Ra
Ra
There lived a certain man in Russia long ago
Though she’d heard the things he done
There was a cat that really was gone
Ra
Ra
Ra
Ra
Ra
There lived a certain man in Russia long ago
	Though she’d heard the things he done
		There was a cat that really was gone
		There lived a certain man in Russia long ago
		Ra
		Ra
		Ra
		Ra
		Ra
		There lived a certain man in Russia long ago
		It was a shame that he carried on
		But to Moscow Chicks he was such a lovely dear
		”I feel fine”
And so they shot him till he was dead
And so they shot him till he was dead
It was a shame that he carried on
Lover of the Russian Queen
Ra
There lived a certain man in Russia long ago
He could preach the Bible like a preacher
There was a cat that really was gone
Ra
Ra
Ra
There lived a certain man in Russia long ago
There was a cat that really was gone
Ra
Though she’d heard the things he done
	Lover of the Russian Queen
And so they shot him till he was dead
Rasputin
There was once a man in Russia long ago
There was a cat that really was gone
He could preach the Bible like a preacher
He could preach the Bible like a preacher
Ra
Ra
Ra
There lived a certain man in Russia long ago
He could preach the Bible like a preacher
There was a cat that really was gone
Ra
Ra
Ra
Ra
Ra
There lived a certain man in Russia long ago
There was a cat that really was gone
Ra
Though she’d heard the things he done
	Lover of the Russian Queen
And so they shot him till he was dead
There was once a man in Russia long ago
There was a cat that really was gone
He could preach the Bible like a preacher
It was a shame that he carried on
It was a shame that he carried on
Ra
Ra
There lived a certain man in Russia long ago
Though she’d heard the things he done
There was a cat that really was gone
Ra
Ra
Ra
Ra
Ra
There lived a certain man in Russia long ago
	Though she’d heard the things he done
		There was a cat that really was gone
		There lived a certain man in Russia long ago
		Ra
		Ra
		Ra
		Ra
		Ra
		There lived a certain man in Russia long ago
		It was a shame that he carried on
		But to Moscow Chicks he was such a lovely dear
		”I feel fine”
And so they shot him till he was dead
And so they shot him till he was dead
Ra
Ra
Ra
Ra
Ra
There lived a certain man in Russia long ago
“I feel fine”
”I feel fine”
But to Moscow Chicks he was such a lovely dear
There lived a certain man in Russia long ago
He could preach the Bible like a preacher
It was a shame that he carried on
Ra
Ra
Ra
There lived a certain man in Russia long ago
There was a cat that really was gone
Ra
Though she’d heard the things he done
	Lover of the Russian Queen
And so they shot him till he was dead
”I feel fine”
But to Moscow Chicks he was such a lovely dear
But to Moscow Chicks he was such a lovely dear
But to Moscow Chicks he was such a lovely dear
He could preach the Bible like a preacher
Ra
Ra
Ra
There lived a certain man in Russia long ago
He could preach the Bible like a preacher
Rasputin
Rasputin
Rasputin
Rasputin
Rasputin
Rasputin
There lived a certain man in Russia long ago
He could preach the Bible like a preacher
It was a shame that he carried on
Ra
Ra
Ra
There lived a certain man in Russia long ago
There was a cat that really was gone
Ra
Though she’d heard the things he done
	Lover of the Russian Queen
And so they shot him till he was dead
”I feel fine”
Most people looked at him with terror and fear
There lived a certain man in Russia long ago
He could preach the Bible like a preacher
Oh… Those Russians…

Output:

Hello World