Programs

Some of the programs I wrote for fun or some purpose.

luc (in Common Lisp)
Replacement for the calc utility below, finally with UPN. While it is written in Common Lisp, it runs with Clisp, but not really well with, for instance, SBCL due to I/O handling being different in ways I do not fully understand. Also, Clisp is very convenient to use for an interactive program by its use of the GNU readline library and by making it possible to run the program directly as with a shell script. As my first "real" program in Common Lisp, it has probably lots of room for improvement. Public domain.
Hic Sunt Lambas
Another Lisp interpreter, in C this time. Originally I wanted to write one in Lua, to finally learn that language a bit, but then it started to pour out of me in C. I would like to say "work in progress", but actually it is just unfinished and more or less abandoned now. Main point at the moment is the garbage collector, which is just the tiniest bit too eager and collects things it shouldn't.
calc (in Perl)
A Perl script with a simple read-eval-print loop to evaluate Perl expressions, intended as a calculator tool. I have used this for a few years, although I actually wanted something with UPN syntax. Public Domain.
export-playlist-music
A Perl script to export the music of an iTunes playlist as files, e. g. to copy the music files of your favourite playlist to an USB stick. First export the playlist from iTunes as a text file, then call

export-playlist-music playlist-file target-directory

Tested on the Macintosh only; assumes CR line endings in the playlist file. Preserves the Artist/Album directory structure. Does not copy files that are already present with the correct size.
Version 1 [ni 2010-01-27].
 
Jnil
Lisp implemented in Java. More a proof-of-concept and just-for-fun thing than a really usable programming environment. With recursion and higher-order functions it can rightfully claim to be a Lisp dialect, though.
 
Socket
A program to have access to TCP sockets from the shell. Begun to fill a gap in 1992, it is still maintained, and in use by some. Today it can even use IPv6.
 
Emacs Lisp
A collection of Emacs Lisp code I wrote mostly on the University.
 
Tcl hacks
Some small Tcl hacks, also quite old.