Skip to content

onion108/cmake_brainfuck_interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brainfuck Interpreter in CMake

This is a Brainfuck interpreter written in CMake scripting language.

To run the interpreter, simply type

cmake -B build

You can also use these command-line options to customize input file paths:

# Path to the source file, default: test.bf
-DINPUT_FILE=path/to/your/source/file
# Path to input file for the program, default: program_in
-DSTDIN_FILE=path/to/your/stdin/file

Cells aren't byte-sized and are signed. , will result in set the current cell to -1 when reading EOF. And moving pointer to the left when the pointer is already at the address 0 will be prohibited and result in fatal error.

About

A Brainfuck interpreter written in CMake.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published