Scientific Calculator (C++)
A high-performance technical calculator featuring explicit variable binding, dynamic list data structures, common 3D operations on vectors and persistent history across sessions.
See the source code here
Gallery
Technical Summary & Implementation
- Engineered a high-performance evaluation engine from scratch in C++ featuring strict mathematical operator precedence adherence and double-precision float consistency.
- Implemented a robust Pratt parsing architecture to elegantly handle complex operator precedence, infix notations, and nested scientific functional evaluations.
- Developed a stack-based virtual machine (VM) for execution, maximizing raw computation speeds while enabling reliable, runtime type-checking with descriptive error dispatching.
- Built natively compiled vector operations including dot products, cross products, multi-dimensional array structures, and core trigonometric functions.