Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Smallest Brainfuck interpreter written in Python [167 bytes]
zax2002
May 8th, 2020
652
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
z
=
a
=
x
=
0
c
,
m
=
input
(
)
,
[
0
]
*
999
while
(
z
<
len
(
c
)
)
:
exec
(
"a+=1|a-=1|m[a]+=1|m[a]-=1|print(chr(m[a]))|m[a]=ord(input())|x=z|if m[a]:z=x"
.
split
(
"|"
)
[
"><+-.,[]"
.
find
(
c
[
z
]
)
]
)
;
z+
=
1
Add Comment
Please,
Sign In
to add comment
Public Pastes
Changelly.com Exploit
CSS | 13 min ago | 0.99 KB
✅ Reproducible rate discrepancy
CSS | 13 min ago | 0.99 KB
I got $12,000 from this bug
CSS | 23 min ago | 0.99 KB
This month smells like money
CSS | 33 min ago | 0.99 KB
Admin Password
CSS | 43 min ago | 0.99 KB
dev loader method
CSS | 53 min ago | 0.99 KB
Bought a $40 MacBook Air
1 day ago | 0.55 KB
My Amazon Shoppe
1 day ago | 0.40 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!