Re: [pro] library configuration

2011-06-29 Thread Didier Verna
Pascal Costanza wrote: > One could use a global variable that stores one's own configuration > option, for example as a plist or alist. This would have to be in the > common-lisp-user package, and theoretically clashes with other such > variables. Yes. One thing I do for this is to use CL-USER

Re: [pro] library configuration

2011-06-28 Thread Daniel Herring
Regarding the original question, take a look at cl-pdf.asd. CL projects needing configuration capabilities have devised various approaches; but the current standard is to have a user-editable asd file, and cl-pdf is one of the more sophisticated examples. On Tue, 28 Jun 2011, Zach Beane wrot

Re: [pro] library configuration

2011-06-28 Thread Pascal Costanza
On 28 Jun 2011, at 19:52, Faré wrote: > On 28 June 2011 13:38, Pascal Costanza wrote: >> >> On 28 Jun 2011, at 17:49, Zach Beane wrote: >> >>> Faré writes: >>> > I am looking for a portable way to specify configuration for a library > before/during loading with ASDF2. It would be su

Re: [pro] library configuration

2011-06-28 Thread Zach Beane
Faré writes: > What's so special about Lisp here? How do other languages do it? ./configure --with-foo=/bar/baz Zach ___ pro mailing list pro@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/pro

Re: [pro] library configuration

2011-06-28 Thread Faré
On 28 June 2011 13:38, Pascal Costanza wrote: > > On 28 Jun 2011, at 17:49, Zach Beane wrote: > >> Faré writes: >> I am looking for a portable way to specify configuration for a library before/during loading with ASDF2.  It would be sufficient if the user could specify an ALIST (or

Re: [pro] library configuration

2011-06-28 Thread Pascal Costanza
On 28 Jun 2011, at 17:49, Zach Beane wrote: > Faré writes: > >>> I am looking for a portable way to specify configuration for a library >>> before/during loading with ASDF2. It would be sufficient if the user >>> could specify an ALIST (or something similar) somewhere and I could read/ >>> use

Re: [pro] library configuration

2011-06-28 Thread Zach Beane
Faré writes: >> I am looking for a portable way to specify configuration for a library >> before/during loading with ASDF2.  It would be sufficient if the user >> could specify an ALIST (or something similar) somewhere and I could read/ >> use it when the library is loaded.  Does ASDF2 have a "st

Re: [pro] library configuration

2011-06-28 Thread Faré
> I am looking for a portable way to specify configuration for a library > before/during loading with ASDF2.  It would be sufficient if the user > could specify an ALIST (or something similar) somewhere and I could read/ > use it when the library is loaded.  Does ASDF2 have a "standard" > mechanism

[pro] library configuration

2011-06-28 Thread Hans Hübner
I made a moderation error, so I'm forwarding this message manually. -Hans -- Forwarded message -- From: Tamas Papp To: pro@common-lisp.net Date: Tue, 28 Jun 2011 12:26:24 + (UTC) Subject: library configuration Hi, A user of my LLA library asked for more flexibility in specify