Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fch/brainfckInterpreter
Very basic interpreter
https://github.com/fch/brainfckInterpreter
Last synced: 2 months ago
JSON representation
Very basic interpreter
- Host: GitHub
- URL: https://github.com/fch/brainfckInterpreter
- Owner: fch
- License: gpl-3.0
- Created: 2016-11-19T01:05:50.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-08T20:24:27.000Z (over 5 years ago)
- Last Synced: 2024-08-03T18:16:40.513Z (6 months ago)
- Language: C
- Size: 19.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeInterpreter - brainfckInterpreter
README
# 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