loading...

Implementing the Brainfuck compiler front end in C#

tingwei628 profile image Tingwei ・1 min read

In the previous article, I wrote a Brainfuck interpreter.
This time I'm trying to build a Brainfuck compiler which targets Common Intermediate Language (CIL). I did not use any parser generator and write a recursive descent parser by hand.

Code: Compiler front end

Discussion

pic
Editor guide