Skip to content

acornfish/Brainfuck_Enhanced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brainfuck_Enhanced

Brainfuck but with a few more things

Functions

Functions are defined with {} and called with # symbol.

Defining Functions

Once a function definition begins, number in the current pointer position becomes the function id which can later be used to call it. First 16 ids are reserved for library functions. This means user can define up to 240 functions between range [16-255].

When # is received byte in the current pointer position is considered function id

List of Library Functions

ID Description Args
0 Adds 16 to current memory position
1 Prints out everything from memory position
2 Opens a file and writes its contents to memory char* path

About

Brainfuck but with a few more things

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors