https://github.com/thimc/bf9
a brainfuck interpreter written in Plan 9 C
https://github.com/thimc/bf9
9front brainfuck c interpreter plan9
Last synced: 12 months ago
JSON representation
a brainfuck interpreter written in Plan 9 C
- Host: GitHub
- URL: https://github.com/thimc/bf9
- Owner: thimc
- License: mit
- Created: 2023-01-22T14:28:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-23T19:02:10.000Z (about 2 years ago)
- Last Synced: 2025-03-04T09:16:14.887Z (over 1 year ago)
- Topics: 9front, brainfuck, c, interpreter, plan9
- Language: Brainfuck
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bf9
a brainfuck interpreter written in Plan 9 C
## Commands
| Character | Function |
| --------- | ----------- |
| > | Increases the data pointer by one |
| < | Decreases the data pointer by one |
| + | Increases the byte at the data pointer by one |
| - | Decreases the byte at the data pointer by one |
| . | Outputs the current byte at the data pointer |
| , | Reads one byte from stdin to the byte at the data pointer |
| [ | If the byte at the data pointer is zero jump to the matching ] |
| ] | If the bytes is nonzero jump back to the matching [ |
## Caveats
The memory array size is 65535 bytes.
## Usage
``bf9 ``
## Bugs
Probably.