A first-principles implementation of arithemetic in Python
github.com
github.com
It lacks elegance in certain places (it uses loops, there is definitely a nicer way out there of defining zero-ness, and the Number.one etc variables are a bit ugly), so feel free to fork it and beautify it (or add features).
[1] http://betterexplained.com/articles/a-visual-intuitive-guide...