Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 905 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 905 Bytes

myBrainFk

This is my own implementation of the Brainfuck language.
Maybe it is not good enough right now, I hope you could find something fun in this programme language.

Build And Run

git clone this repo and run make to build it.

Show Options:

kai@kai:~/myBrainFk$ ./bin/bf --help
Usage: bf [option] | file
A Sample BrainFuck interpreter.

-h --help      show usage message .
-e --exec      execute BrainFuck code .
   --version   output version information and exit .

Run example:

kai@kai:~/myBrainFk$ ./bin/bf example/hello.bf
Hello World!
kai@kai:~/myBrainFk$ cat example/hello.bf
++++++++++[>+++++++>++++++++++>+++>+<<<<-]
>++.>+.+++++++..+++.>++.<<+++++++++++++++.
>.+++.------.--------.>+.>.
kai@kai:~/myBrainFk$

Other Funny code

https://github.com/moky/BrainFuck

License

MIT license (© 2020 Kerwin Sun)