Sunday, November 27, 2005

Some Practical Lisp

My work on Vajra has sort of come to a standstill, what with the amount of time I have been spending taking care of the hardware issues. The most recent work (as revealed by the CVS commit comments) was an earth-shaking enhancement to a string utility function.

Anyway, I am reading Practical Common Lisp now (a quick micro-review: should have started with it instead of Paul Graham's On Lisp), and an idea for a worthwhile Vajra enhancement just occurred to me: write a Common Lisp library to extract class files as byte streams from JAR files. I am using Arun Sharma's ziplib utility for this currently, and while it's a great utility, there are some issues with it (Valgrind reports quite a few memory-related problems).

The plan is as follows:
  1. Write a CL library interfacing with the zlib routines

  2. Write a C++ class that wraps the CL library (it can wrap the zlib functions directly, but what's the fun in that?)

  3. Become a Lisp hacker in the process of implementing steps 1 and 2

  4. Take over the world