Fausto95 / brainfuck-ts

Brainfuck interpreter written in TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Brainfuck interpreter written in TypeScript

Here's the project structure:

  • Tokenizer: Transforms the source code into an array of chars
  • Parser: Transforms the tokenized source code into an AST(Abstract Syntax Tree)
  • Compiler (Interpreter): Traverses the ast and does all the interpretation of the program

How the hell brainfuck works?

To get a good understanding of how it works, I recommend watching these videos:

About

Brainfuck interpreter written in TypeScript


Languages

Language:TypeScript 100.0%