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.

SpoilerFuck

From Esolang
Jump to navigation Jump to search
The title of this article is not correct because of technical limitations. The correct title is actually Fuck.

Fuck is an esolang invented by User:None1 which is a way of displaying brainfuck code with spoilers.

Syntax

All syntax are the same, except one: Text wrapped around with brackets in brainfuck are wrapped around with spoilers in Fuck.

For example:

++++++++[>++++++++<-]>+.

in brainfuck is

++++++++>++++++++<->+.

in Fuck.

Examples

This Python program translates brainfuck to Fuck.

print('(code)'.replace("[",'<span class="spoiler">').replace("]","</span>"))

Cat Program

,.,

Hello World

++++++++>++++>++>+++>+++>+<<<<->+>+>->>+<<->>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.

See also

Categories