PMSF IT Consulting

A Spotlight Importer for Common Lisp

Resources for CL

 ·  General Information
 ·  CL Implementations
 ·  PMSF Resources
     ·  Building CMUCL
     ·  MaiSQL
     ·  Fast MD5
     ·  Deflate
     ·  XML Parsing
     ·  SillyIRC
     ·  CLMDImporter

CLMDImporter is a very simple Spotlight importer plug-in for Common Lisp source files. It defines a new exported Uniform Type Identifier net.pmsf.lisp-source that conforms to public.source-code, and implements a trivial importer for this type.

Ideally it would define the UTI public.lisp-source or something like this, but only Apple is allowed to define UTIs in the public namespace.

In order to use the importer, download CLMDImporter.dmg, activate the disk image and copy the importer to /Library/Spotlight. You can trigger the importer for existing files with mdimport filename, any new files should be imported automatically.

The source code for the importer is available, too: CLMDImporter.src.zip

The whole importer is hereby placed into the public domain.