Skip to content

fch/brainfckInterpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

brainfckInterpreter

Very basic interpreter for the - actually turing-complete! - brainfuck language.

Feel free to give ideas, tips and constructive critique for improvement.

The underlying structure functions like a turing machine in a way. The Tape consists of multiple Cells, and points to one of them. Each Cell holds a value and has a reference to it's left and right neighbour.

BE CAREFUL! Theres no limit to the count of cells, so a infinite loop just going into a direction, like this little guy:

+[>+]

can blow up memory consumption! Handle with care! (Most OS will terminate the process.)

Brainfuck reference: https://en.wikipedia.org/wiki/Brainfuck

About

Very basic interpreter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages