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.

you are in a brainforest

From Esolang
Jump to navigation Jump to search

you are in a brainforest is a non-turing complete esolang that compiles into brainfuck. its only sole purpose is to make text adventures.

commands

out() - prints characters in brackets
in - stores input as temporary variable
if(?|) - do things between | and ) only if temporary variable is ?
inc - adds 1 to temporary variable
dec - subtracts 1 to temporary variable

compilation to brainfuck

out(?):
(number of pluses as needed).[-]
in:
>,<
inc:
>+<
dec:
>-<
if(?|!):
>[>+>+<<-]>[<+>-]>(number of minuses as needed)>+<[>-<[-]]>[<<<!>>>[-]]