Skip to content

ZiarZer/Zombie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zombie

Zombie, or ZiarZer's Own Made Brainfuck IntErpreter, is a BrainFuck interpreter written in C.

How to install

You can compile the project by simply running make (or make zombie) at the root of the repository. If you want, you can copy the zombie binary file obtained in your /bin directory so you can use it from anywhere in your file system.

How to use

The simplest way of using Zombie is to run zombie file.bf, which will interprete the BrainFuck code contained in file.bf with an allocated array of 100 bytes by default.
If you want to decide of the size of the array, you can use the --arraysize or -a option. For example, if you wanted an array of 10 bytes, you should run zombie file.bf -a 10.

When interpreting the , command, inputs will be read from the standard input stream, so you can either type them as the program executes, or use a pipe to use another program's output as input:

echo 'Hello world!' | zombie take_input.bf

Debug mode

Debug mode can be enabled with the --debug or -d flag:

zombie file.bf -d

About

BrainFuck interpreter written in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published