Nyank

From Esolang
Jump to navigation Jump to search

Nyank is a joke esoteric programming language created by Dom Davis. It is identical to Brainfuck, except that the instructions are constructed of variations of the made up word "Nyank". It represents another in a long line of trivial Brainfuck command substitutions. As such, it is a member of the TrivialBrainfuckSubstitution family of programming languages. The Nyank interpreter is written in such a way that is can also easily parse other Brainfuck variants.

Commands

Brainfuck Colonoscopy Description
> nyank? Move the pointer to the right
< nyank! Move the pointer to the left
+ NYANK, Increment the memory cell under the pointer
- nyank, Decrement the memory cell under the pointer
. Nyank! Output the character signified by the cell at the pointer
, Nyank? Input a character and store it in the cell at the pointer
[ NYANK? Jump past the matching NYANK! if the cell under the pointer is 0
] NYANK! Jump back to the matching NYANK?


Hello, world! program

nyank? NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, NYANK? nyank! 
NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, nyank? nyank, 
NYANK! nyank! Nyank! nyank? NYANK, NYANK, NYANK, NYANK, NYANK? nyank! NYANK, 
NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, nyank? nyank, NYANK! nyank! NYANK, 
Nyank! NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, Nyank! Nyank! NYANK, 
NYANK, NYANK, Nyank! nyank? nyank? NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, 
NYANK? nyank! NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, nyank? nyank, 
NYANK! nyank! NYANK, NYANK, Nyank! nyank, nyank, nyank, nyank, nyank, nyank, 
nyank, nyank, nyank, nyank, nyank, nyank, Nyank! nyank? NYANK, NYANK, NYANK, 
NYANK, NYANK, NYANK, NYANK? nyank! NYANK, NYANK, NYANK, NYANK, NYANK, NYANK, 
NYANK, NYANK, NYANK, nyank? nyank, NYANK! nyank! NYANK, Nyank! nyank! Nyank! 
NYANK, NYANK, NYANK, Nyank! nyank, nyank, nyank, nyank, nyank, nyank, Nyank! 
nyank, nyank, nyank, nyank, nyank, nyank, nyank, nyank, Nyank! nyank? nyank? 
nyank? NYANK, NYANK, NYANK, NYANK, NYANK? nyank! NYANK, NYANK, NYANK, NYANK, 
NYANK, NYANK, NYANK, NYANK, nyank? nyank, NYANK! nyank! NYANK, Nyank!


External resources