Skip to content

Commit 80e475c

Browse files
committed
deleted useless files, changed readme/makefile
1 parent 513f689 commit 80e475c

File tree

5 files changed

+12
-58
lines changed

5 files changed

+12
-58
lines changed

README.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Brainfuck is an esoteric language, or joke language, that is turing-complete and
44

55
# HOW DO I BRAINFUCK?
66

7-
Even though brainfuck is somewhat hard, it has only 8 instructions, and those are:
7+
This version of brainfuck has only 10 instructions, and those are:
88

99
```
1010
+ --> Adds 1 to the cell it's in.
@@ -15,28 +15,20 @@ Even though brainfuck is somewhat hard, it has only 8 instructions, and those ar
1515
1616
< --> Changes the cell it's in by -1.
1717
18-
, --> Allows for input.
18+
, --> Allows for input(ONLY WITH NUMBERS FFS).
1919
20-
. --> Echoes the value of the cell.
20+
; --> Gets ascii inputs.
2121
22-
[ --> Starts a loop.
23-
24-
] --> Goes to the last open bracket if it doesn't end on 0 / null.
25-
```
22+
. --> Echoes the value of the cell(IF DONE WITH ASCII VALUES, WILL THROW IT'S VALUE ON THE ASCII TABLE).
2623
27-
Every character other than those is ignored.
24+
: --> Echoes the ascii value of the cell.
2825
29-
# HOW DOES THIS INTERPRETER WORK?
30-
31-
That's something easy to answer since I was the one to write it's source code.
32-
You should enter a file as an argument, and it should end in .b / .bf (mainly for organisation), and the file structure should be as follows:
26+
[ --> Starts a loop.
3327
34-
```
35-
1 CELLS:[number of cells(defaults to 10)]/ASCII:[y/n(defaults to n)]
36-
2 // Brainfuck code
28+
] --> Goes to the last open bracket if it doesn't end on 0 / null.
3729
```
3830

39-
Easy, right? As a side note, you should keep this structure as similar as possible. You could not add the CELLS and ASCII specificators, but if you do, you must keep it as shown before.
31+
Every character other than those is(hopefully) ignored.
4032

4133
# WHY?
4234

instructions/en.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

instructions/es.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.
File renamed without changes.

makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
COMPILER=gcc
2-
CONF=-o brainfuck.out
1+
COMPILER=cc
2+
CONF=-o brainfuck
33
COMPILE=$(COMPILER) $(CONF)
44

55
compile:
6-
$(COMPILE) src/brainfuck.c
6+
$(COMPILE) main.c
77

88
test: compile
9-
./brainfuck.out src/thanks.bf
9+
./brainfuck src/thanks.bf

0 commit comments

Comments
 (0)