calcrational consists of a binary crate calc and a library crate
calclib. calc is a CLI calculator that only deals with arithmetic
defined on the rational numbers. Internally it is based on
Ratio<T>
and BigInt
.
For a formal specification of the calc language, one can read
lang.pdf.