mita4829 / Bender

I thought I saw a 2!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bender

Build Status

Simple iOS calculator written in Swift. This project demostrate recursive-descent parsing to achieve order of operations.

There is a small issue of handling integers greater than 64-bits which cause overflows. Currently, expressions and values that are evaulated are casted to be 32-bits and if integers are detected to be greater, an overflow alert view will be delegated out. Swift 3 does not handle overflows well concerning 64-bit integers. Future work of dynammically resizing space allowing integers to exceed 64-bits will be needed. Theme from CalcBot @tapbots

Alt text

About

I thought I saw a 2!


Languages

Language:Swift 100.0%