Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sftp/kbrainfuck
Brainfuck interpreter for linux kernel
https://github.com/sftp/kbrainfuck
Last synced: 2 months ago
JSON representation
Brainfuck interpreter for linux kernel
- Host: GitHub
- URL: https://github.com/sftp/kbrainfuck
- Owner: sftp
- Created: 2010-05-01T15:04:37.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2014-08-11T17:59:12.000Z (over 10 years ago)
- Last Synced: 2024-08-03T18:16:34.693Z (6 months ago)
- Language: C
- Homepage:
- Size: 172 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- AwesomeInterpreter - kbrainfuck
README
Brainfuck interpreter for linux kernel
1. Compilation
$ make
2. Loading module
# make load
3. Usage examples
$ echo ">++++++[<++++++++>-]>++[<+++++>-]<[<.+>-]" > /proc/brainfuck/code
$ cat /proc/brainfuck/output
0123456789$ echo ",[>,]<[.<]" > /proc/brainfuck/code
$ echo -n "abcdef" > /proc/brainfuck/input
$ cat /proc/brainfuck/output
fedcba4. unloading module
# make unload