Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fch/brainfckInterpreter

Open more actions menu

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.