Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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
fedcba

4. unloading module

# make unload