Share your repls and programming experiences

← Back to all posts
#WEEKLY 10: CodeLongAndPros' Magic™️ Reverse™️ Polish™️ Calculator™️! (™️)
CodeLongAndPros (1597)

This is my Magic™️ Reverse™️ Polish™️ Calculator™️! (™️)

It's kinda like Desk Calculator (man dc), but in a nice GUI! (Kinda)

I don't expect to win, but that would be nice...

There's four basic operations, 8 hidden ones, three stack ones, and three Easter eggoos!

For all of you that don't know, man dc has this gem:

A reverse-polish calculator stores numbers on a stack. Entering a number pushes it on the stack. Arithmetic operations pop arguments off the stack and push the results.

Couldn't have said it better meself :).

The four gooey functions are:
+: Addition (Duh)
-: Subtraction (See above)
*: Multiplication
/: Division

If you ask, why is he writing this? People know how do maths, right?

Well, I've been reading too much r/talesfromtechsupport and have lost faith in most of the users in the world.

The three stack operations are:
x (Delete item from stack)
X (Clear stack and staging area)
s (Swap item from top of stack into staging area)

The 8 'hidden' operations are:

p - Square (s was already taken)
P - Pow (Raise to the power of
v - sqrt(Square root)
V - Xth root
S - Sine
C - Co-sine (<ramble>Is this like co-worker/<ramble>)
T - Tangent
R - Reciprocal

Well, enjoy!

Edit: I can Markdown.

MocaCDeveloper (594)

@CodeLongAndPros I was just showing you the one we did lol

MocaCDeveloper (594)

@CodeLongAndPros I had to make a new account. When we attempted to make an OS on my last one my repl kept freezing everytime I went to a project although I deleted it lol

MocaCDeveloper (594)

@CodeLongAndPros Would you like to be a part of the team I have gathered? If not it's fine!

MocaCDeveloper (594)

@CodeLongAndPros It's a new feature on repl. I made one and have a few other people in it. We are trying to start a project. I am trying to recruit as many people as I can so thought I'd ask if you'd wanna join!

TheForArkLD (770)

This™️ Is™️ Cool!™️(™️)