Compiling all lisp files in a folder

Discussion of Common Lisp
Post Reply
delftlisper
Posts: 1
Joined: Sun Dec 27, 2015 1:41 pm

Compiling all lisp files in a folder

Post by delftlisper » Sun Dec 27, 2015 1:49 pm

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.

pjstirling
Posts: 166
Joined: Sun Nov 28, 2010 4:21 pm

Re: Compiling all lisp files in a folder

Post by pjstirling » Thu Dec 31, 2015 12:03 pm

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?

David Mullen
Posts: 78
Joined: Mon Dec 01, 2014 12:29 pm
Contact:

Re: Compiling all lisp files in a folder

Post by David Mullen » Thu Dec 31, 2015 6:09 pm

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.

Post Reply