Skip to content

jeffreybergier/NotSoulver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot of the app running in OpenStep

[Not] Soulver for OpenStep 4.2

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.

Disclaimer

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.

How to Use

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.

App Features

  • Full PEMDAS order of operations support
  • NSDocument support
  • Keyboard input support
  • Syntax highlighting with custom fonts
  • Themeing and dark mode support

How it Works

Description to be provided

Technical Features

  • 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

Known Problems

  • Nested parenthesis not supported
  • NSTextAttachments with solutions are not always aligned properly

About

[Not] Soulver for OpenStep 4.2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages