Forums - Open Redstone Engineers
equation and expression irc calculator - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: Off-Topic (https://forum.openredstone.org/forum-4.html)
+--- Forum: Programming (https://forum.openredstone.org/forum-8.html)
+--- Thread: equation and expression irc calculator (/thread-5970.html)



equation and expression irc calculator - PabloDons - 03-13-2015

This irc bot I made, the goal of it is making a calculator that supports algebra (only x) equations and advanced expressions. what it has right now is only expressions with multiply, divide, add and subtract. the syntax is quite simple, the command is calc and what comes after it is (with the quotes) "34*41+61-12/4". you can check this with calc help.

GitHub

wadaya think?


RE: equation and expression irc calculator - Apuly - 03-15-2015

I think it's about time people start to use tylers irclib, instead of the shitty system malc created, and I perfected into shittyness.


RE: equation and expression irc calculator - Chibill - 03-16-2015

Cool I can use this to check my polynomial multiplier when I start building it.


RE: equation and expression irc calculator - PabloDons - 03-18-2015

(03-16-2015, 12:09 AM)Chibill Wrote: Cool I can use this to check my polynomial multiplier when I start building it.

glad to hear my bot is of use :D

I am so glad to have updated the code now. It finally supports parentheses. That was truly one of the absolutely hardest to figure out how to do. Not even getting started at all was this hard. I even still have equations on my list so ye, dayum, x=fuckinghard :P. Github is updated if you are curious of how it works.


RE: equation and expression irc calculator - PabloDons - 03-20-2015

I have now added exponent support btw! yay