Skip to content

KazeTachinuu/brainfuck-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brainfuck Interpreter

This is a simple Brainfuck interpreter written in C.

Table of Contents

Introduction

Brainfuck is an esoteric programming language created in 1993 by Urban Müller. It is known for its extreme minimalism, with the language using only eight simple commands, an instruction pointer, and an array of memory cells, each initialized to zero.

This project provides a basic Brainfuck interpreter that can execute Brainfuck programs.

Usage

To run a Brainfuck program:

./bf <filename>

Replace <filename> with the path to the Brainfuck program file you want to execute.

You can also run a Brainfuck program directly from the command line using the -c option:

./bf -c "++++++++++[>+++++++>++++++++>+++<<<-]>+."

Building

To build the Brainfuck interpreter, use the provided Makefile:

make

This will generate the executable named bf.

Adding the Executable to PATH

To use the Brainfuck interpreter globally and access it from anywhere, you can add the executable to your system's PATH.

You can move the executable in /bin:

sudo mv bf /bin/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published