[armedbear-devel] Automatic grovelling for (lisp-defined) autoloads

Erik Huelsmann ehuels at gmail.com
Thu Aug 5 11:39:35 UTC 2010


Today, I had an idea: what if we were to find all symbols which are
being declared EXPORTED during the ABCL system compilation in each
file? Then, we'd generate a list of all exported symbols and the files
they are exported from. The given file would be included in our JAR.
At boot-time, the file would be read and the appropriate autoloaders
would be installed.

The consequence would be that we would not need to maintain
'autoloads.lisp' anymore. It would require us to think better about
which symbols need to be in the export lists, though. (I guess that's
a good thing in the long run, though.) I'm thinking about groveling
macro-expanded forms, because that would allow us to grovel clos.lisp
and detect many of its exported symbols.

Anybody up for the task? (I'm expecting it to be 4 or 5 evenings of work.)


Bye,


Erik.




More information about the armedbear-devel mailing list