Last active
December 16, 2015 08:49
-
-
Save sjmulder/5408629 to your computer and use it in GitHub Desktop.
We want... a shrubbery!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _0(): | |
__=1 | |
while _[9][_[5]]==0 and __>0 and _[3]<len(_[1]): | |
_[3]+=1 | |
if _[1][_[3]]==_[1][0]:__+=1 | |
if _[1][_[3]]==_[1][1]:__-=1 | |
def _1(): | |
__=1 | |
while _[9][_[5]]!=0 and __>0 and _[3]>=0: | |
_[3]-=1 | |
if _[1][_[3]]==_[1][0]:__-=1 | |
if _[1][_[3]]==_[1][1]:__+=1 | |
def _2():_[9][_[5]]+=1 | |
def _3():_[9][_[5]]-=1 | |
def _4():_[12]+=chr(_[9][_[5]]) | |
def _5():_[5]-=1 | |
def _6():_[5]+=1 | |
def _7(): | |
while _[3]<len(_[1]): | |
if not _[5] in _[9]:_[9][_[5]]=0 | |
_[ord(_[1][_[3]])%len(_)]() | |
_[3]+=1 | |
print _[12] | |
_=[_0,'[]++++++++++[>+++++>+++>+++++++++>++++++++++>+++++++++++>++++++++++++<<<<<<-]>>>---.>+.<<++.>>>>-.<<----.>.>---.<<<<<----...>.>>.<<.>>>>-.<------.>-.+++.<<+..+++.>>---.+++++++.<<<<+.',_1, 0,_2,0,_3,_4,_5,{},_6,_7,''] | |
_[11]() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment