Skip to content

Instantly share code, notes, and snippets.

@GoldsteinE
Created March 10, 2021 17:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GoldsteinE/7f35c6cc9502dd9f27899cd2c2bc528b to your computer and use it in GitHub Desktop.
Save GoldsteinE/7f35c6cc9502dd9f27899cd2c2bc528b to your computer and use it in GitHub Desktop.
Place your cursor on the line 6 and type 0"qy$@q to execute brainfuck code in line 9.
Memory begins from line 22, you can add zeroes here to increase available amount.
Line 21 is output. There is no input. Negative numbers are not supported.
Plugins / remaps can break the interpreter. Run this with -u NONE.
j0"sy$jjmcjmo/^catch jmz0"_d$jmd/catch kk$s0@s
`c"cyl'o/\M^c W"cy$'d@c`clmc@s
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.
+ 
- 
< kmd
> jmd
. 'o8j"zyE'd0"ZyE'o8jW"Zyl`z@zmz
[ 0"aywG?\<a\> ?catch W"ayE@a
] 0"aywG?\<a\> ?catch WW"ayE@a
a 
catch hl `c%mc
0
0
0
0
0
0
0
0
0
catch `c%mc hl
0
by goldstein@ / github.com/GoldsteinE
@s3rgeym
Copy link

s3rgeym commented Apr 25, 2021

Решение чего?

@GoldsteinE
Copy link
Author

Интерпретатор BrainFuck на командах Vim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment