somewhere near the beginning.

Pythonica

Filed under: Mathematics, Programming — Alex @ 9:38 pm 5/19/2005

One of my long standing fantasies has been to find/write a high quality open source symbolic mathematics system that is hackable. Axiom is the closest I have yet to come, but to hack that, I would need to learn Lisp as well as Aldor. Besides, I have the feeling Axiom is headed nowhere, fast; it’s code seems almost anachronistic and certainly foreign, not in content, but in style. It’s a wonderful idea, and the most full featured free CAS, but it lacks an attractive interface (TeXmacs?— blah!). All the other free CASes I’ve found are pathetic (e.g., YACAS), C-based or Lisp-based, and in general resist casual hacking. Certainly, they all lack something a successful CAS must have: an attractive interface, where the math is typset.

Now, it seems like someone has the opportunity to rectify this situation: Python is a very hacker friendly language, and already has a lot of numeric tools that could be called upon by a CAS, e.g. scipy. Also, the gmpy module supports multiple precision integer, rational, and floating point arithmetic. So ‘all’ the aforementioned someone would have to do is write a symbolic engine and some glue code to bind these tools together, as well as a suitable interface. Pythonica, albeit a very small one, is the first step in this direction.

I would love to be that someone, but I don’t know anything about writing an interpreter, or implementing a computer algebra system. Hopefully this entry will inspire someone, somewhere to take up the mantle… and save us all :)

Possibly relevant posts:

3 Comments »

RSS feed for comments on this post. TrackBack URL

Leave a comment