~jacksonchen666/random_brainfuck

2a697f9cc4ba1a78e34e84bed36a499e8f511203 — Jackson Chen 1 year, 4 months ago 8a79ddc
another one
1 files changed, 315 insertions(+), 0 deletions(-)

A some_more_brainfuck.bf
A some_more_brainfuck.bf => some_more_brainfuck.bf +315 -0
@@ 0,0 1,315 @@
decided to do a little more brainfuck

d
e
c
i
d
e
d
 
t
o
 
d
o
 
a
 
l
i
t
t
l
e
 
m
o
r
e
 
b
r
a
i
n
f
u
c
k

6  
4 e
4 d
3 t
3 o
3 i
2 r
2 l
2 c
2 a
1 u
1 n
1 m
1 k
1 f
1 b

" " 32



a 97
b 98
c 99
d 100
e 101
f 102


i 105

k 107
l 108
m 109
n 110
o 111



r 114

t 116
u 117

unique characters count:
15

- m0: 255
> curm: m1
>>>>>>>>>>>>>> curm: m15
>> curm: m17
+++++++[<+++++++++++++++>-] curm: m17; m16: dec 105
< curm: m16
[
    [<+] m0 to m15: incremented; curm: m0 (hopefully)

    - m0: 255
    > curm: m1
    [>] curm: m17
    < curm: m16
    - decrement m16 (actual value)
]

decided to do a little more brainfuck
 : _______ __ __ _ ______ ____ _________
d: d___d_d____d_________________________
e: _e___e_______________e____e__________
m: _______________________m_____________
o: _________o__o___________o____________
t: ________t_________tt_________________
l: ________________l___l________________
b: ____________________________b________
r: _________________________r___r_______
a: ______________a_______________a______
i: ___i_____________i_____________i_____
n: ________________________________n____
f: _________________________________f___
u: __________________________________u__
c: __c________________________________c_
k: ____________________________________k
(huffman coding might be helpful here but idk)

layout: count; char; base 10; top is m0:
6   32
4 d 100
4 e 101
1 m 109
3 o 111
3 t 116
2 l 108
1 b 98
2 r 114
2 a 97
3 i 105
1 n 110
1 f 102
1 u 117
2 c 99
1 k 107

<<<<<<<<<<<<<<<< curm: m0
+++++++++++++++++++++++++++++++++ m0: " " or 32
base ref: decimal 105
> curm: m1
----- m1: d or 100
> curm: m2
---- m2: e or 101
> curm: m3
++++ m3: m or 109
> curm: m4
++++++ m4: o or 111
> curm: m5
+++++++++++ m5: t or 116
> curm: m6
+++ m6: l or 108
> curm: m7
------- m7: b or 98
> curm: m8
+++++++++ m8: r or 114
> curm: m9
-------- m9: a or 97
> curm: m10
m10: i or 105
> curm: m11
+++++ m11: n or 110
> curm: m12
--- m12: f or 102
> curm: m13
++++++++++++ m13: u or 117
> curm: m14
------ m14: c or 99
> curm: m15
++ m15: k or 107
<<<<<<<<<<<<<<< curm: m0
> curm: m1

decided to do a little more brainfuck
layout: count; char; base 10; top is m0:
0: 6   32
1: 4 d 100 YOU ARE HERE RIGHT NOW
2: 4 e 101
3: 1 m 109
4: 3 o 111
5: 3 t 116
6: 2 l 108
7: 1 b 98
8: 2 r 114
9: 2 a 97
10: 3 i 105
11: 1 n 110
12: 1 f 102
13: 1 u 117
14: 2 c 99
15: 1 k 107

. d
> curm: m2
. e
>>>>>>>>>>>> curm: m14
. c
<<<< curm: m10
. i
<<<<<<<<< curm: m1
. d
> curm: m2
. e
< curm: m1
. d
< curm: m0
. " "

to do a little more brainfuck
layout: count; char; base 10; top is m0:
0: 6   32 YOU ARE HERE RIGHT NOW
1: 4 d 100
2: 4 e 101
3: 1 m 109
4: 3 o 111
5: 3 t 116
6: 2 l 108
7: 1 b 98
8: 2 r 114
9: 2 a 97
10: 3 i 105
11: 1 n 110
12: 1 f 102
13: 1 u 117
14: 2 c 99
15: 1 k 107

>>>>> curm: m5
. t
< curm: m4
. o
<<<< curm: m0
. " "
> curm: m1
. d
>>> curm: m4
. o
<<<< curm: m0
. " "

a little more brainfuck
>>>>>>>>> curm: m9
. a
<<<<<<<<< curm: m0
. " "

little more brainfuck
layout: count; char; base 10; top is m0:
0: 6   32 YOU ARE HERE RIGHT NOW
1: 4 d 100
2: 4 e 101
3: 1 m 109
4: 3 o 111
5: 3 t 116
6: 2 l 108
7: 1 b 98
8: 2 r 114
9: 2 a 97
10: 3 i 105
11: 1 n 110
12: 1 f 102
13: 1 u 117
14: 2 c 99
15: 1 k 107
>>>>>> curm: m6
. l
>>>> curm: m10
. i
<<<<< curm: m5
. t
. t
> curm: m6
. l
<<<< curm: m2
. e
<< curm: m0
. " "

more brainfuck
layout: count; char; base 10; top is m0:
0: 6   32 YOU ARE HERE RIGHT NOW
1: 4 d 100
2: 4 e 101
3: 1 m 109
4: 3 o 111
5: 3 t 116
6: 2 l 108
7: 1 b 98
8: 2 r 114
9: 2 a 97
10: 3 i 105
11: 1 n 110
12: 1 f 102
13: 1 u 117
14: 2 c 99
15: 1 k 107

>>> curm: m3
. m
> curm: m4
. o
>>>> curm: m8
. r
<<<<<< curm: m2
. e
<< curm: m0
. " "
>>>>>>> curm: m7
[.>] "brainfuck"; curm: should be m16
<<<<<<<<<<<<<<<< curm: m0
[-]++++++++++ 10 or \n
. \n