Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
/ Brainterpreter Public archive

Brainfuck interpreter written in C

Notifications You must be signed in to change notification settings

m3tra/Brainterpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brainterpreter

This program written in C interprets brainfuck code read from a file or argument

A double linked list is used as the "array" of memory cells to allow a dynamic storage capacity instead of a fixed-size one

A few tests from http://brainfuck.org/tests.b are included

Usage

./brainterpreter -f | -o | -i
    -i | --input <file>  # read from file
    -o | --output <file> # output to file
    -c | --code <code>   # code as argument