A rudimentary calculator inspired by Soulver written in ancient Objective C that compiles and runs in OpenStep 4.2. The calculator logic also compiles and runs properly in Xcode 16. I guess that says a lot about the stability of Objective C and Foundation over the years.
This software is NOT related to Soulver by Zac Cohan. This application was inspired by Soulver and created as a learning exercise. You should purchase and use Soulver by Zac Cohan instead of using this software.
This application parses the mathematical formulas out of the text and solves them them inline. The equal sign is used to indicate you would like the problem to be solved.
- Full PEMDAS order of operations support
- NSDocument support
- Keyboard input support
- Syntax highlighting with custom fonts
- Themeing and dark mode support
Description to be provided
- Ancient Objective-C
- ❌ No Automatic Reference Counting
- ❌ No Property Synthesization
- ❌ No Blocks
- ❌ No Fast Enumeration → Use
NSEnumerator
- ❌ No Collection Literals → Use
nil
terminated initializers
- Ancient Foundation: Only uses Foundation API that were available in Mac OS X 10.0 🥵
SLRE.h/c
Regex Added to bring REGEX to ancient systems
- Nested parenthesis not supported
- NSTextAttachments with solutions are not always aligned properly