嘭!哐!叮!呲!咣!
Jump to navigation
Jump to search
嘭!哐!叮!呲!咣! is an esolang invented by User:None1. It is derived from deadfish.
Commands
Command Deadfish Meaning 嘭! i Increment accumulator 哐! d Decrement accumulator 叮! s Square accumulator 呲! o Output accumulator as number 咣! Output accumulator as ASCII
Examples
XKCD Random Number
嘭!嘭!嘭!嘭!呲!
Hello, World!
嘭!嘭!嘭!叮!哐!叮!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!咣!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!嘭!咣!嘭!嘭!嘭!嘭!嘭!嘭!嘭!咣!咣!嘭!嘭!嘭!咣!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!咣!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!咣!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!叮!哐!哐!咣!哐!哐!哐!哐!哐!哐!哐!哐!咣!嘭!嘭!嘭!咣!哐!哐!哐!哐!哐!哐!咣!哐!哐!哐!哐!哐!哐!哐!哐!咣!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!哐!咣!
Implementations
Python
c,p,x=input(),0,0 while p<len(c): if p+1>=len(c) or (c[p] not in '嘭哐叮呲咣') or c[p+1]!='!': p+=1 else: if c[p]=='嘭': x+=1 elif c[p]=='哐': x=max(0,x-1) elif c[p]=='叮': x=(0 if x*x==256 else x*x) elif c[p]=='呲': print(x) else: print(chr(x),end='') p+=2