Page 1 of 1

Compiling all lisp files in a folder

Posted: Sun Dec 27, 2015 1:49 pm
by delftlisper
Dear all,

I am trying to find out how to compile all lisp files in a folder.

I have a number of lisp files in a folder and these files reference each other. I am working in GDL which uses common lisp.
Now I was wondering what command I have to use in the GDL command line to compile alle files in a folder.
I can remember it was something like cl-lite and then the folder path but I can't seem to get this to work.
Any ideas are much appreciated.

Re: Compiling all lisp files in a folder

Posted: Thu Dec 31, 2015 12:03 pm
by pjstirling
Generally multi-file libraries/programs are organised into ASDF systems, and are loaded using ASDF. I'm not particularly clear from your post as to whether you wish to start writing your own code, or simply use someone else's?

Re: Compiling all lisp files in a folder

Posted: Thu Dec 31, 2015 6:09 pm
by David Mullen
I'm not familiar with Gendl, but this appears to be the relevant source code, if it helps:

https://gitlab.common-lisp.net/gendl/ge ... -lite.lisp

It says cl-lite expects to find Lisp files "in source/ subdirectories" and it takes keyword arguments specifying whether to create an ASD file and so on.