Skip to content
← Back to Community
Expression Calculator
Profile icon
ApoorvAgrawal

This is an expression calculator made in Python and C++,
You can choose which one you want to use. Some supported expressions are:
1+2-(6/2)+5(7)
NOTE:
Unlike some "Calculators" it doesn't use eval().

Voters
Profile icon
Funkus
Profile icon
NoelB33
Profile icon
Coder100
Profile icon
ApoorvAgrawal
Comments
hotnewtop
Profile icon
Coder100

One suggestion: Precompile your C++ so you just have to do:
./Calculator ;)

Profile icon
ApoorvAgrawal

@Coder100 Good idea, Thanks

Profile icon
NoelB33

Very good but beyond my understanding lol.

Profile icon
Coder100

I like the lexer and parser!! Great job!

Profile icon
ApoorvAgrawal

@Coder100 thanks

Profile icon
Coder100

no problem :) @ApoorvAgrawal