Skip to content

potato4444/brainfuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brainfuck

A brainfuck interpreter written in haskell as my first "practical" program. This interpreter supports arbitrary choice of cell size, including any finite size and unbounded. This interpreter has a doubly infinite tape.

Building

The easiest way to build the interpreter is to clone the reprository and then issue the command

stack build

This requires an installation of the Stack build tool.

Building via Cabal should work but is untested.

Running

The interpreter takes a filename and optionally a cell size as arguments. Example invocations are

./brainfuck 8 helloworld.bf
./brainfuck primes.bf

Not including a cell size will mean that unbounded cells are used.

About

brainfuck interpreter with arbitrary cell size.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published