In the early days of
Excalibur
I found myself at times using it purely for its expression
evaluator. That wasn't particularly handy, because it took up a lot
of screen estate for such a small function. So I wrote my own
little calculator, Calculatrix, which is just a tiny bar
with a text entry field and a result field.
It snaps to border and stays on top so it's always easily accessible.
It's all fine and dandy until I needed to do something slightly more
complex than calculating a simple expression, when I had to use my own
memory for storing previous results .
I started using the Python shell
for calculations, but manually giving variable names, the lack of
implicit multiplication for parentheses, the absence of the ability
to save and restore a session and the need to import the necessary
modules every time started annoying me a lot. So I wrote a mix
between the Python shell and Calculatrix: Mathter.
- Mathter 0.12 (21-4-2003, 26.4kB)
- = Mathter is now maintained using
Leo.
Leo is an outlining editor which takes care of the structure and
which I've configured to generates a single file out of all code.
The Leo file of Mathter is available on request.
- = documentation fits the new webpage style
- Mathter 0.11 (17-4-2003, 32.3kB total)
- -- fixed bug which caused crash in case of a syntax error
- -- version number is now a string, made up of two integers (major and minor version number)
- Mathter 0.10 (16-4-2003, 32.3kB total)
- = added some functions (mainly input/output and some shapes)
- -- several bugfixes
- = added
dofeedback parameter to the evaluate() function
- --
load() and save() now automatically use file extensions (.mpy)
- --
help() is no longer the built-in Python function, but a custom version which only displays
the docstring
- -- updated almost all docstrings in order to have a more informative
help()
- Mathter 0.9 (15-4-2003, 23.1kB total)
- -- fixed NoneType warning caused by calling of the now blocked
append()
method of the memory and history lists
- Mathter 0.8 (14-4-2003, 23.1kB total)
- = added some more functions and renamed a couple of existing ones
- -- bugfixes in
load() and modify()
- -- the
os module is no longer directly accessible from
the Mathther prompt for security reasons
- -- blocked some history/memory methods so they
can't be easily modified from the prompt
- -- split the source in more files for easier maintenance
- = added a test 'suite' (
test.session) which
can be loaded and executed using runtest()
- Mathter 0.7 (13-4-2003, 18.3kB total)
- --
mem is now a list instead of a dictionary (what was I thinking?)
- = added
ans as shorthand notation for the last item in
mem (mem[-1])
- = added a bunch of new functions and objects
- = added access to the Python
random module
- = added a copy of the Python Quick Reference to the docs
- = removed the
^ operator as power, now it functions as in Python (bitwise exclusive or)
- Mathter 0.6 (8-4-2003, 12.9kB total)
- First public release.
|