We all know Brianfuck is awful to use and hurts to program in. Well I am here to make your life slightly better with the completly unnecessary simple ASCII character set ID's in Brianfuck.

>++++++[<+++++>-]<++> >++++++[<+++++>-]<+++> >+++++[<++>-] >+++++++++++++[<+++++>-] >+++++++++++[<++++++>-] >+++++++++++[<++++++>-]<+> >+++++++++++++++++[<++++>-] >+++++++++++[<++++++>-]<+++> >+++++++[<++++++++++>-] >+++++++[<++++++++++>-]<+> >+++++++++[<++++++++>-] >+++++++++[<++++++++>-]<+> >+++++++++[<++++++++>-]<++> >+++++++++++++++[<+++++>-] >+++++++++++++++[<+++++>-]<+> >+++++++++++[<+++++++>-] >+++++++++++++[<++++++>-] >+++++++++++++[<++++++>-]<+> >++++++++[<++++++++++>-] >+++++++++[<+++++++++>-] >+++++++++[<+++++++++>-]<+> >+++++++++[<+++++++++>-]<++> >++++++++++++[<+++++++>-] >+++++++++++++++++[<+++++>-] >+++++++++++++++++[<+++++>-]<+> >+++++++++++++++++[<+++++>-]<++> >+++++++++++[<++++++++>-] >+++++++++++[<++++++++>-]<+> >+++++++++[<++++++++++>-]

Web demo of this code.


How to use:

The code will add all uppercase letters A-Z and !, SPACE, and NEW LINE ASCII ID's to the memory. The table below better explains.

Memory:   Letter:       ID:
0 SPACE 32
1 NEW LINE 33
2 ! 10
3 A 65
4 B 66
5 C 67
6 D 68
7 E 69
8 F 70
9 G 71
10 H 72
11 I 73
12 J 74
13 K 75
14 L 76
15 M 77
16 N 78
17 O 79
18 P 80
19 Q 81
20 R 82
21 S 83
22 T 84
23 U 85
24 V 86
25 W 87
26 X 88
27 Y 89
28 Z 90

That is a pretty simple rundown of it all. Nothing special to it. If you don't know how to print characters in Brainfuck, then here is a quick rundown: Move the memory pointer to the memory cell with the corrosponding ASCII character ID in it. The pointer ALWAYS starts at 0. Move it up with '>' and down with '<'. Once you get to said cell, print the character with '.' and it should appear in the output.

It is also worth remembering that if the memory pointer has been moved above 0, then the memory cell number on the table needs to be increased by what the current pointer location is. So if you started at cell 12, then instead of C being at cell 5, it would be at 17. (12 + 5)


Demo:

This code below will load the ASCII character set ID's set and will use it to print "HELLO WORLD!" in the output.

>++++++[<+++++>-]<++> >++++++[<+++++>-]<+++> >+++++[<++>-] >+++++++++++++[<+++++>-] >+++++++++++[<++++++>-] >+++++++++++[<++++++>-]<+> >+++++++++++++++++[<++++>-] >+++++++++++[<++++++>-]<+++> >+++++++[<++++++++++>-] >+++++++[<++++++++++>-]<+> >+++++++++[<++++++++>-] >+++++++++[<++++++++>-]<+> >+++++++++[<++++++++>-]<++> >+++++++++++++++[<+++++>-] >+++++++++++++++[<+++++>-]<+> >+++++++++++[<+++++++>-] >+++++++++++++[<++++++>-] >+++++++++++++[<++++++>-]<+> >++++++++[<++++++++++>-] >+++++++++[<+++++++++>-] >+++++++++[<+++++++++>-]<+> >+++++++++[<+++++++++>-]<++> >++++++++++++[<+++++++>-] >+++++++++++++++++[<+++++>-] >+++++++++++++++++[<+++++>-]<+> >+++++++++++++++++[<+++++>-]<++> >+++++++++++[<++++++++>-] >+++++++++++[<++++++++>-]<+> >+++++++++[<++++++++++>-] <<<<<<<<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>.<<<.>>>>>>>..>>>.<<<<<<<<<<<<<<<<<.>>>>>>>>>>>>>>>>>>>>>>>>>.<<<<<<<<.>>>.<<<<<<.<<<<<<<<.<<<<<.

Web demo of this code.


Code created by Liam Hogan on June 28th, 2020.