Introduction

This project is an interpreter for the brainfck programming language written in C++. Allowing to run brainfck programs on any machine with a C++ compiler.

The main goal goal of this project was to learn more about language interpreters. Brainfck is a simple language with only 8 commands, making it a good starting point for this kind of project.

Generate the executable

The project uses CMake to generate the makefile.
The executable is then generated by running make.

Interpret a BF script

The executable takes a brainfck script as input and interprets it.
The output is printed to the console.

Run tests

The executable's behaviour is tested using shunit2, a unit testing framework for shell scripts.
The application is tested on both correct output, error handling and memory management.