This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

Compiling all lisp files in a folder

3 posts · 4038 views

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

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

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.