Basic arithmetic is straightforward. First, we obtain the result as a string.
sage: kash.eval('(9 - 7) * (5 + 6)') '22'
Next we obtain the result as a new KASH object.
sage: a = kash('(9 - 7) * (5 + 6)'); a 22 sage: a.parent() Kash
We can do arithmetic and call functions on KASH objects:
sage: a*a 484 sage: a.Factorial() 1124000727777607680000
See About this document... for information on suggesting changes.