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.

Slantfuck

From Esolang
Jump to navigation Jump to search

Slantfuck is the trivial brainfuck substitution TrivialBrainfuckSubstitution("///", "\\\", "\_/", "/_\", "\/\", "_/_", "\_\", "//_") consisting of slants and underscores.

Syntax

Command Brainfuck equivalent
/// >
\\\ <
\_/ +
/_\ -
\/\ .
_/_ ,
\_\ [
//_ ]

Examples:

Looping counter

/// /// \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_\ \_\ /_\ /// \_/ \\\ \\\ \_/ \_/ \_/ \_/ /// //_ \\\ \_/ \_/ \_\ \\\ //_ /// \_\ \/\ /// //_ /// /\/ //_

XKCD Random Number

\_/ \_/ \_/ \_/ \_\ /_\ /// \_/ \_/ \_/ \\\ //_ /// \_/ \_\ /_\ /// \_/ \_/ \_/ \_/ \\\ //_ /// /\/

Truth-machine

\_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ /// /// _/_ \\\ \\\ \_\ /_\ /// \_/ \_/ \_/ \_/ \_/ \\\ //_ /// \_/ \_/ \_/ \_\ /// /_\ \\\ /_\ //_ /// /// \_/ \_/ \_/ \_/ \_/ \_\ /// \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \\\ /_\ //_ /// /_\ \\\ \\\ \_\ /// /// \/\ \\\ \\\ //_ /// /// /_\ /\/