Writing a simple Brainfuck interpreter in C#

twitter logo github logo ・1 min read

GitHub

I heard Brainfuck so many times, and decided to spend some time to work on a simple interpreter in C# . If you want to see how Brainfuck works, check out brainfuck visualizer @fatiherikli.

Here's one point to mention. When I tried to work on Nested loop, I used Stack (FILO) to memorize the position of bracket. It helped to order the bracket and navigate the exact position of bracket. Because I only tested the basic case like "Hello World" which was written in Brainfuck, I need to cover more test cases.

Next, I would try to validate the Brainfuck files. :)

twitter logo DISCUSS
Classic DEV Post from Feb 19

Why being a good programmer barely requires programming at all.

Yes, you read that right. To be a good programmer you don’t need to be good at programming. I hear what you’re saying, that makes no sense! Well hold on a second, hear me out.

Tingwei profile image
software engineer

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️

(There is also a pink mode)