To promote Tarearbol.DynamicManager
I created the -language (which is a brainfuck dialect.)
Code outputting βMeowβ to the console looks like this:
πΊπΊπΊπΊ πΊπΊπΊπΊ
πΈπΌπΊπΊπΊπΊ πΈπΌπΊπΊπΉ πΈπ±πΉ π±πΎπΉ
πΌπΌπΊπΊπΊπΊπΊπ»
πΌπΎπΎπΎπ»
πΊπΊπΊπΊπΊπΊπΊπΊπΊπΊπ»
πΊπΊπΊπΊπΊπΊπΊπΊπ»
2 Likes
Corresponding tweet for this thread:
Share link for this tweet.
Well, there is only one emoji for brain and guess how many for the suffix of the original language name, so I was literally enforced to resort to kitties.
2 Likes
I rewrote my Ruby Brainfuck Code-Golfed interpreter to work with your -language.
a,*b=$<.read,c=d=n=0
(t,m=a[d],-1
t['πΌ']&&b[c-=m]||=n
t['π±']&&c+=m
t['πΊ']&&b[c]-=m
t['πΎ']&&b[c]+=m
t['π»']&&$><<b[c].chr
t['π½']&&b[c]=STDIN.getc.ord
n==b[c]?t['πΈ']&&n=m=1:t['πΉ']&&n=1
(a[d+=m]['πΈ']&&n+=m
a[d]['πΉ']&&n-=m)until n<1
d+=1)while a[d]
Running it with:
$ ruby bf.rb prog.bf
Meow
4 Likes
What the hell is this sorcery!!!
1 Like
I wrote a blog post 4 years ago
https://mads.ohmbrix.dk/2016/10/31/wtf-brainfuck-a-golfing-experience.html
Havenβt really been writing posts for that blog since.
2 Likes