-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
45 lines (31 loc) · 1.1 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
brainfuck
=========
Yet another [nice][1] [brainfuck][2] interpreter written in C.
[1]: <http://www.muppetlabs.com/~breadbox/bf/standards.html>
[2]: <http://en.wikipedia.org/wiki/Brainfuck>
Synopsis
--------
$ git clone -q https://github.com/damiendart/brainfuck.git
$ # <http://www.robotinaponcho.net/git/brainfuck.git> works too.
$ cd brainfuck
$ make clean all > /dev/null
$ ./brainfuck examples/helloworld.bf
Hello, World!
$ cat examples/helloworld.bf | ./brainfuck
Hello, World!
$ # ./brainfuck --help
Embedding brainfuck
-------------------
This implementation of brainfuck is easy to embed into a C/C++ project:
simply add "src/brainfuck.h" and "src/brainfuck.c" to the build and call
the simple Lua-style API to get (kinda) instant brainfuck. For more
information, see "src/brainfuck.h".
Testing
-------
COMING SOON (MAYBE).
Licence
-------
This implementation of brainfuck is written by Damien Dart,
<[email protected]>. This is free and unencumbered software released
into the public domain. For more information, please refer to the
accompanying "UNLICENCE" file.