[asdf-devel] compile-with-nicknames
Сергей Катревич
linkfly1 at newmail.ru
Thu Oct 20 01:36:47 UTC 2011
I think that asdf is a big enough system in order to start its division. But have to single file asdf.lisp - it is convenient. I propose to take advantage of both approaches: concated many files into asdf.lisp (for example: utils.lisp + pathnames-utils.lisp + planning-operations.lisp + ... = asdf.lisp). Such as is done in jquery (https://github.com/jquery/jquery).
Срд 19 Окт 2011 09:03:03 +0400, Gbor Balzs <gabalz at gmail.com> написал:
> 2011/10/18 Faré <fahree at gmail.com>
> Gabor, why don't you start a
> contrib/asdf-contrib.asd
> system under the asdf tree, or as another project?
>
> Well, I think one of the biggest strength of asdf, that it is only one file. You just ship that file, and it is there, does the job for you.
> With multiple files, you don't have this "portability", and workarounds will win against such a contrib library.
>
> And personally, I am not so interested in managing such a library. When I read about this package nickname problem, and solved in a way for my library set, I just thought asdf would be a right place to handle this uniformly by faking the missing "use-as" functionality of depackage. So it would be cheaply available for anyone (as I think most of the lisp library uses asdf). But this might be just my feeling... I can live with that... :)
>
> Also, a better version of with-package-nicknames
> would handle conflicts with the main name of some packages,
> that could even be shadowed, and rotation of nicknames between packages as well.
>
> Yes, it is true, but I think these are not so frequent cases, so the functionality could be quite useful in its simple pure state. Of course you could push it further as you say. An then even further by supporting parallel compilations scenarios, or by substituting package designators by string replacements in source files as a last resort. But I think the people who really need this are minority.
>
> —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
>
> The sunlights differ, but there is only one darkness.
> — Ursula K. LeGuin, "The Dispossessed"
> There are 40 kinds of lunacy, but only one kind of common sense.
> — African proverb
>
> 2011/10/19 Gábor Balázs <gabalz at gmail.com>:
>
> >
> > Sorry for the duplicate. I set the function definitions to defun*, whatever
> > it means. :)
> > Plus I changed the name to call-with-package-nicknames as it never renames
> > any package, just set extra nicknames.
> > I think it is a better name, you can choose...
> >
More information about the asdf-devel
mailing list