https://github.com/neilvallon/sansan
Concurrent BF Interpreter
https://github.com/neilvallon/sansan
brainfuck concurrent go interpreter programming-language
Last synced: 10 months ago
JSON representation
Concurrent BF Interpreter
- Host: GitHub
- URL: https://github.com/neilvallon/sansan
- Owner: neilvallon
- License: mit
- Created: 2015-02-14T07:23:34.000Z (almost 11 years ago)
- Default Branch: develop
- Last Pushed: 2015-03-23T11:00:09.000Z (almost 11 years ago)
- Last Synced: 2024-06-21T16:53:21.717Z (over 1 year ago)
- Topics: brainfuck, concurrent, go, interpreter, programming-language
- Language: Go
- Homepage:
- Size: 2.17 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sansan
A Concurrent Brainfuck Dialect.
## Instruction Set
| op | Function |
|----|-------------------------------------------|
| + | Add one to current cell |
| - | Subtract one from current cell |
| > | Move right one cell |
| < | Move left one cell |
| [ | Enter loop if cell is not zero |
| ] | Continue loop untill current cell is zero |
| { | Start new thread |
| } | Stops current thread |
| ! | Toggle atomic operations. Default: *off* |
| . | Print value of current cell |
| , | Read integer into current cell |
## Usage
#### Install
go get vallon.me/sansan/cmd/sansan
#### Run
sansan filename.san