-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyfuck.py
1 lines (1 loc) · 1.53 KB
/
pyfuck.py
1
brainfuck = [(sys:=__import__(SystemError.__name__[:-~-~-~0].lower())).setrecursionlimit(pow(_:=-~-~-~-~-~-~-~-~0,_)),(type(str().__add__(bin.__name__[0].__add__(range.__name__[:-~-~0]).__add__(int.__name__[:~0]).__add__(type(lambda:0).__name__[:-~-~0]).__add__(chr.__name__[0].__add__(KeyError.__name__[0]))),(),{(0).__init__.__name__:lambda s,c:(None,_:=lambda f,v:setattr(s,f.__name__[0],v),_(id,0),_(pow,0),_(chr,c),_(all,[0]),_(repr,[]),)[0],exec.__name__:lambda s:[lambda:0,lambda:[s._(s.c[s.i]),setattr(s,id.__name__[0],s.i.__add__(-~0),),s.exec()][~0]][s.i.__lt__(len(s.c))](),__import__.__name__[0]:lambda s,c:__import__(str().__add__(compile.__name__[:-~-~0].__add__(len.__name__[0].__add__(len.__name__[:~0].__add__(chr.__name__[0].__add__(TimeoutError.__name__[:-~-~0].lower().__add__(oct.__name__[0].__add__(next.__name__[0].__add__(str.__name__[0]))))))))).defaultdict(lambda:lambda:0,{chr(_:=ord(str(0)).__sub__(-~-~-~0)):lambda:[lambda:0,lambda:s.a.__setitem__(s.p,s.a[s.p].__sub__(-~0),),][s.a[s.p].__ne__(0)](),chr(_.__sub__(-~-~-0)):lambda:s.a.__setitem__(s.p,s.a[s.p].__add__(-~0)),chr(-~_):lambda:print(end=chr(s.a[s.p])),chr(_:=-~-~-~ord(str(-~-~-~-~-~-~-~-~-~0))):lambda:setattr(s,pow.__name__[0],s.p.__sub__(-~0)),chr(-~-~_):lambda:[lambda:[s.a.append(0),setattr(s,pow.__name__[0],s.p.__add__(-~0))],lambda:0,][s.p.__eq__(len(s.a))](),chr(_:=-~ord(zip.__name__[0].upper())):lambda:s.r.append((s.i,s.p)),chr(-~-~_):lambda:[_:=s.r.pop(),[lambda:0,lambda:[s.r.append(_),setattr(s,id.__name__[0],_[0])]][s.a[_[~0]].__gt__(0)]()]})[c]()}))][~0]