Share your repls and programming experiences

← Back to all posts
BrainF but much much more annoying
DeBeast591 (134)

So in the post: I posted "brainf but even worse" (Or something like that). And so I decided to make it. And I think that this takes the cake. I've added two characters (/ and *) just to make life a little easier so you don't have to type "+" 100+ times just to print "h".

Here's a (bad) tutorial.
Similar to BrainF, there is a list of values, in this, each value is called a "cell". A "+" adds 1 to the cell, and a "-" subtracts 1 from the cell. With "." you can print the Unicode value, so if a cell was equal to 100, and you added a "." to the end of the line, then "d" would be printed. Then there's "*" ad "/". These will multiply or divide 10 from the cell respectively, that way life is just a little easier. Finally, there's "!", this will just end the program. It's not needed, but if you add it, then it just stops everything with quit().

+ - Adds 1 to the cell
- - Subtracts 1 from the cell
* - Multiplies the cell by 10
/ - Divides the cell by 10
! - Ends the program
. - Prints the Unicode value of the cell
# - Resets the cell to zero (Idea by KENNETHTRIPP (9))

By the way, I named this programming language (if you could even call it that) "Suffer".

Finally, enjoy suffering!

JBloves27 (1522)

hmm, actually pretty cool!

realTronsi (907)

How is this worse than BrainF? The only thing to make BrainF worse is this:

\   toggle

+/- toggled as =
./, toggled as ;
[/] toggled as |
>/< toggled as ^

This results in 5 characters


prints the letter "A"

I'm not sure how else to make BrainF even more torture

DeBeast591 (134)

@realTronsi XD Maybe I can make a second version that just doesnt have the QoL things I included, or just something like that XD

realTronsi (907)

@DeBeast591 the only sad part about this is that you didn't include [ and ] which no longer makes it turing complete.

Would probably be easy to make a superset of BrainF like this one I made a few months ago (being a BrainF enthusiast myself):

DeBeast591 (134)

@realTronsi Yeah, I've tried to make programming languages in the past, but the one thing I haven't been able to get a grasp of is making loops and if statements. So the:

if "hello" == "hello":
  print("hello"); # <-- This is the part I cant ever get working when I (try and) make a programming language.
CodingRedpanda (167)


it is annoying, makes me suffer, and has unfortunately been turned into a programming language --

i love it

CodingRedpanda (167)


print("E: SyntaxError, char '" + y + "' not recognised")

recognised is actually spelled recognized just so u know

DeBeast591 (134)

@ridark oof XD. That's my spelling in a nutshell, I need word highlighting or I just cant spell for the life of me XD

CodingRedpanda (167)

@DeBeast591 ha-ha.
also, i tried to make a version of this, but with js, so it was is a challenge. this is the link:
there are some bugs so I decided (since I couldn't find the causes (or even how to fix them)) to scrap the idea.

DeBeast591 (134)

@ridark Lol! Python is great for these kinda projects, I personally want to learn C, I've been work with my Arduino recently, and I quite like C++ so far, it's very comfortable, way easier than I thought XD. Once I've gotten a little better at it, I may remake this in that for performance. Idk. Though Node I'd say is best for web development or server backends, not really I/O, though I have little knowledge of Node, so idk it's I/O capabilities.

CodingRedpanda (167)

@DeBeast591 yah i do like python for the I/O, i personally think that python and js are some of the easiest (besides ruby, but letz not get into that)

muffinman12345 (32)

I don't get the point, but I like it

DeBeast591 (134)

@muffinman12345 The point is simple: It doesnt exist, I just thought of this because of another post (At the top of my code is a link iirc), where I got the idea, then I made it just cuz I could.

realTronsi (907)

@DeBeast591 there are many supersets of BrainF, you can find some on esolang.

DeBeast591 (134)

@realTronsi Well this is wrote from scratch, the code isn't based on the BrainF code, but it's based on the esolang structure of BrainF

realTronsi (907)

@DeBeast591 I didn't base mine off BrainF either and wrote it from scratch as well, hence why its so messy because it was really just a meme project.

loops aren't difficult, just remember where the loop starts, and if the condition is true, then run the code in the loop until it reaches the end, then jump back and check the condition again.

In the AST, it would look something like a loop -> condition -> rest of code blah

And how I've done it just node -> rest of code
> loop -> cond -> code

jumping back to rest of code if the cond is proven false

(overly simplified for the purpose of not having to type ascii and also not having 5 years to explain)

DSAEvan (17)

I swear that I do not understand how this works. I feel like I am "suffering." "secret code language"

DeBeast591 (134)

@DSAEvan Thats kinda the point XD


Cool! Is there any way to reset the cell back to 0 besides subtracting?

DeBeast591 (134)

@KENNETHTRIPP No but thats a good idea, or I could just not add it to add to the "suffer" part >:)

DeBeast591 (134)

@KENNETHTRIPP Okay, I've added the # command which sets the cell to zero, I hope it works cuz I didn't test it XD