Calculus is a simple calculator interpreter written in python.
Calculus supports variable declarations, logic operations and different notations types: Infix, Postfix and Prefix notations are three different but equivalent ways of writing expressions.
To change notation just type command INFIX
, PREFIX
or POSTFIX
.
INFIX --> x=3
3
INFIX --> 2+(4*3)
14
INFIX --> POSTFIX
POSTFIX --> y 9 =
9
POSTFIX --> y 1+
10
POSTFIX --> INFIX
INFIX --> y<x
False