diff options
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | brainfuck.c | 2 |
2 files changed, 3 insertions, 6 deletions
@@ -5,12 +5,9 @@ This is a toy implementation of brainfuck. | |||
5 | 5 | ||
6 | Just for fun! | 6 | Just for fun! |
7 | 7 | ||
8 | ##Usage: | 8 | ## Usage: |
9 | |||
9 | ```bash | 10 | ```bash |
10 | gcc brainfuck.c -o brainfuck | 11 | gcc brainfuck.c -o brainfuck |
11 | ./brainfuck | 12 | ./brainfuck |
12 | ``` | 13 | ``` |
13 | |||
14 | |||
15 | [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/JinweiClarkChao/brainfuck/trend.png)](https://bitdeli.com/free "Bitdeli Badge") | ||
16 | |||
diff --git a/brainfuck.c b/brainfuck.c index 5cd021e..0619337 100644 --- a/brainfuck.c +++ b/brainfuck.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <stdio.h> | 1 | #include <stdio.h> |
2 | #include <string.h> | 2 | #include <string.h> |
3 | 3 | ||
4 | #define MAX_DATA 30000 | 4 | #define MAX_DATA 30000 |
5 | 5 | ||
6 | typedef struct brainfuck{ | 6 | typedef struct brainfuck{ |