The world may not have needed yet another calculator, but I wrote this while playing with the Spirit parsing library, and maybe some people will find it useful. PlainCalc is a buttonless, algebraic-entry, mathematical calculator with variables. To use PlainCalc, type an expression or assignment and press Return or Enter. Unlike most calculators I've seen, PlainCalc allows you to indicate multiplication by juxtaposition, e.g., you can write 2πr instead of 2*π*r.
New in version 2 of PlainCalc: You can define your own functions, and you can save worksheets, including values of variables and functions. Version 2 requires OS 10.4 or later. This version was built as a universal binary.
Version 2.0.1 fixes a bug in which a built-in function stopped working if you defined a variable whose name was an initial segment of the function name. For instance, a variable c interfered with the function cos.
Version 2.1 changes:
- The Paste command always pastes as plain text.
- There is a new Paste Cleaned command that removes commas and dollar signs from the pasted text.
- If the document has never been saved, it will close without asking you whether to save changes. (I usually use PlainCalc as a scratchpad, and don't want it to halt a restart or shutdown.)
Version 2.2 changes:
- There is a new menu command to use the current definitions and text as the initial content of all new worksheets. This can be used to set a preferred font and size, and also to ensure that frequently used functions and variables are always available.
- There are new menu commands to forget defined functions and variables.
- Newly typed text will always be in black, even if you move the cursor into red or green text.
For those using older OS versions, including OS 9, an earlier version of PlainCalc is available below.