Skip to content

Commit d9195df

Browse files
committed
added TUTORIAL.md and refactored the code
1 parent 736c4fc commit d9195df

File tree

8 files changed

+1851
-339
lines changed

8 files changed

+1851
-339
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ A C99 confirming\* optimizing Brainfuck implementation written (and executed) on
1414
```c
1515
#include "bf.c"
1616

17-
BF((),I,I,I,I,I,I,I,I,B,R,I,I,I,I,B,R,I,I,R,I,I,
18-
I,R,I,I,I,R,I,L,L,L,L,D,E,R,I,R,I,R,D,R,R,
19-
I,B,L,E,L,D,E,R,R,A,R,D,D,D,A,I,I,I,I,I,I,
20-
I,A,A,I,I,I,A,R,R,A,L,D,A,L,A,I,I,I,A,D,D,
21-
D,D,D,D,A,D,D,D,D,D,D,D,D,A,R,R,I,A,R,I,I,A)
17+
BF(,I,I,I,I,I,I,I,I,B,R,I,I,I,I,B,R,I,I,R,I,I,
18+
I,R,I,I,I,R,I,L,L,L,L,D,E,R,I,R,I,R,D,R,R,
19+
I,B,L,E,L,D,E,R,R,A,R,D,D,D,A,I,I,I,I,I,I,
20+
I,A,A,I,I,I,A,R,R,A,L,D,A,L,A,I,I,I,A,D,D,
21+
D,D,D,D,A,D,D,D,D,D,D,D,D,A,R,R,I,A,R,I,I,A)
2222
```
2323
2424
</td><td>
@@ -80,7 +80,7 @@ If you want to get more fine grain information of execution times, then you migh
8080
This adds the `__TIMER__` macro, which expands to the executed time and resets the timer, so the second `__TIMER__` in `__TIMER__ FOO __TIMER__` expands to the time it took to preprocess `FOO`.
8181

8282

83-
# Benchmarks with similar projects
83+
## Benchmarks with similar projects
8484

8585
The programs tested are also present in [examples.c](examples.c).
8686

0 commit comments

Comments
 (0)