Skip to content

2nafish117/brain_fu-k_interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple Brain Fu*k interpreter made in cpp.

Build:

run make from the root directory of the project. fuck binary in /bin/fuck from the root directory of project.

Usage:

Run interpreter with ./fuck with the fuck binary in the same directory. (with necessary flags)

By default requires a file called brain.fuck in the same directory as fuck to run.

Flags:

-f <file> specifies a file/file path to interpret.

-b <size> specifies size of buffer to be used in bytes (currently broken).

-e <number> specifies max number of errors displayed (in the terminal) if any (default value 10).

-p <position> specifies initial position of pointer (default value 0).

-n specifies if I/O should take inputs as integers or charecters (by default uses charecters, mainly a quality of life option).

About

A brain fu*k interpreter that i made for fun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published