Camm Maguire wrote: > ... would anyone like to volunteer to write a lisp #'directory function > sing unix dirent structures, with a mind toward portability on mingw, > cygwin, macosx, and solaris? Preferably, the C primitives should be > minimal, and most of the logic implemented in lisp. For cvs head I'd > think unless really simple > > This is an old request from some maxima people.
One possibility would be to steal the code from cmucl or clisp. Cmucl uses stat functions, I think, to walk the directory. While I'm asking, can we also get a ensure-directories-exist? This is useful with mk defsystem. For now, I just hacked a version that basically calls mkdir -p. :-) Also, gcl seems to have define-compiler-macro, but it's in the SYSTEM package, not COMMON-LISP. I tried (with maxima) to import the symbol into COMMON-LISP, but got symbol conflicts. I couldn't figure out how to get rid of the offending symbol. It's very nice to see some development on gcl once again! Ray _______________________________________________ Gcl-devel mailing list Gcl-devel@gnu.org http://lists.gnu.org/mailman/listinfo/gcl-devel