锟斤拷烫烫烫fuck
Jump to navigation
Jump to search
- The title of this article is also called 龘䶛䨻䎱㸞蚮䡶䴞䴝䯬䬛䰕㹚㱎䖘䵈䶁䘔䶑䘓鋱䩳䵷㒪䪉䉥䥸䝟䳮䟑䎘䫱䉷䰯䕈䟐龘䶛䨻䎱㸞蚮䡶䴞䴝䯬䬛䰕㹚㱎䖘䵈䶁䘔䶑䘓鋱䩳䵷㒪䪉䉥䥸䝟䳮䟑䎘䫱䉷䰯䕈䟐䬝䥰龘䰕䘋㽌䇁䵄䵻䬛蟿䆉㖀城龘䶛䨻䎱蚮䡶䴞䴝䯬䬛䰕㹚㱎䖘䵈䶁䘔䶑䘓鋱䩳䵷㒪䪉䉥䥸䝟䳮䟑䎘䫱䉷䰯䕈䟐䬝龘䶛䨻䎱蚮䡶䴞䴝䯬䬛䰕㹚䯬䬛䰕㹚䥸䝟龘䶛䨻蚮䡶䴞䴝䯬䬛䰕㹚㱎䖘饢蘿蘿靄饢靨爛驫寵灣龍贏爨瘸驫嚴戀蔞讀鑭鷚豐髏諳馨顏顬饋饋驕驛餷寵䓠驫煆驫灣爨瘸籮嚴戀鷚鱧髏鬱靈雞懶齲魎燼蠻齲櫞蘿蘿靄饢靨爛贔爨籮饢驫嚴戀蠆讀鑭鸛豐髏諳馨顎顬饋饋驕驏龘䶛䨻䎱㸞蚮.
锟斤拷烫烫烫fuck is a Trivial brainfuck substitution.
Induct
手拿两把锟斤拷
口中疾呼烫烫烫
脚踏千朵屯屯屯
笑看万物锘锘锘
Syntax
Syntax of 锟斤拷烫烫烫fuck:
锟斤拷烫烫烫fuck | Brainfuck |
---|---|
龘 | > |
齉 | < |
爨 | + |
靐 | - |
麤 | . |
靈 | , |
鬱 | [ |
亹 | ] |
Program
Hello, world
爨爨爨爨爨爨爨爨鬱靐 龘爨爨爨爨爨爨爨爨齉 亹龘爨爨爨爨爨爨爨爨 麤齉爨爨爨爨爨鬱靐龘 爨爨爨爨爨齉亹龘爨爨 爨爨麤爨爨爨爨爨爨爨 麤麤爨爨爨麤齉爨爨爨 爨爨爨爨爨鬱靐龘靐靐 靐靐靐靐靐靐齉亹龘靐 靐靐麤齉爨爨爨鬱靐龘 靐靐靐齉亹龘靐靐靐麤 齉爨爨爨爨爨爨爨爨爨 鬱靐龘爨爨爨爨爨爨爨 爨爨齉亹龘爨爨爨爨爨 爨麤靐靐靐靐靐靐靐靐 麤爨爨爨麤靐靐靐靐靐 靐麤靐靐靐靐靐靐靐靐 麤齉爨爨爨爨爨爨爨爨 鬱靐龘靐靐靐靐靐靐靐 靐齉亹龘靐靐靐麤齉
A+B Problem
TOO LONG
Interpreter in Python
import sys def interpretion(code): s=[] matches={} tape=[0]*1000000 for i,j in enumerate(code): if j=='鬱': s.append(i) if j=='亹': m=s.pop() matches[m]=i matches[i]=m cp=0 p=0 while cp<len(code): if code[cp]=='爨': tape[p]=(tape[p]+1)%256 if code[cp]=='靐': tape[p]=(tape[p]-1)%256 if code[cp]=='靈': c=sys.stdin.read(1) tape[p]=(ord(c) if c else 0)%256 if code[cp]=='麤': print(chr(tape[p]),end=) if code[cp]=='龘': p-=1 if code[cp]=='齉': p+=1 if code[cp]=='鬱': if not tape[p]: cp=matches[cp] if code[cp]=='亹': if tape[p]: cp=matches[cp] cp+=1 interpretion(sys.stdin.read())