K-on Fuck

From Esolang
Jump to: navigation, search
This article is a stub, which means that it is not detailed enough and needs to be expanded. Please help us by adding some more information.

K-on Fuck (けいおんfuck) is an esoteric programming language believed to be created by Yuichi Nishiwaki. It is a programming language where all input is done via the japanese sounds うん(un) and たん(tan).

The source code for the K-on Fuck interpreter is modeled after the K-on character Azusa Nanako, also known as Azunyan.

Example Code

うんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんたんたんうんうんうんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんうんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんうんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんうんたんうんうんたんうんうんたんうんたんたんたんたんたんうんうんうんたんうんうんうんうんうんうんたんうんうんたんうんたんうんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんたんうんうんたんうんうんうんたんうんうんたんうんうんたんうんたんうんうんうんうんうんうんたんたんたんうんうんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんたんうんうんうんうんたんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんうんたんうんたんうんうんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんたんうんうんうんたんうんうんたんうんうんたんうんたんうんうんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんたんうんうんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんうんたんたんたんうんうんうんうんうんうんたんうんたんうんうん

The language is Turing complete as it is a trivial brainfuck substitution as evidenced by https://gist.github.com/wasabili/562178

The obfuscated interpreter also interprets this same substitution when encoded in Windows codepage 932, however, if it is given an argument beginning with "a" and unrelated process is run instead.

Perl Implementation

%c=qw(AAA $p++ AAB $p-- ABA D++ ABB D-- BBA D&=255;while(D){ BBB D&=255;} BAA print+chrD BAB D=ord(getc));
$/=$,;$_=<>;s/[AB]//g;s/うん/A/g;s/たん/B/g;s/[^AB]//g;s/.../$c{$&};/g;s[D]'$b[$p]'g;eval