| 1 |
{include resources/header.md} |
| 2 |
|
| 3 |
<div class="contents"> |
| 4 |
<div class="system-links"> |
| 5 |
|
| 6 |
* [Mailing Lists][mailing-list] |
| 7 |
* [Getting it][downloads] |
| 8 |
* [Documentation][] |
| 9 |
* [News][] |
| 10 |
* [Changelog][] |
| 11 |
|
| 12 |
</div> |
| 13 |
<div class="system-description"> |
| 14 |
|
| 15 |
### What it is |
| 16 |
|
| 17 |
ASDF-System-Connections provides auto-loading of systems that |
| 18 |
only make sense when several other systems are loaded. If I'm |
| 19 |
lucky, an example will make this clear! [CL-Containers][] |
| 20 |
and [CL-Variates][] are separate systems and can therefore |
| 21 |
be loaded independently. If both of them are loaded, however, |
| 22 |
then it makes sense to also load code that uses CL-Variates |
| 23 |
to sample random elements from containers. Rather than |
| 24 |
requiring you to remember to load that extra system (and to |
| 25 |
load it only after both Cl-Containers and CL-Variates are |
| 26 |
loaded), ASDF-System-Connections lets you set things up so |
| 27 |
that loading happens automatically. |
| 28 |
|
| 29 |
Here is a simple example from [metabang-bind][]'s system |
| 30 |
definition: |
| 31 |
|
| 32 |
(asdf:defsystem-connection bind-and-metatilities |
| 33 |
:requires (metabang-bind metatilities-base) |
| 34 |
:perform (load-op :after (op c) |
| 35 |
(use-package (find-package :metabang-bind) |
| 36 |
(find-package :metatilities)))) |
| 37 |
|
| 38 |
The _requires_ clause specifies the other systems that must |
| 39 |
be loaded before this connection will be activated. The rest |
| 40 |
of the system definition is regular [ASDF][]. |
| 41 |
ASDF-System-connections will be loaded as soon as the systems |
| 42 |
they require are all loaded and they will only be loaded |
| 43 |
once. Before loading a system that uses a system connection, |
| 44 |
you should load ASDF-System- Connections in the usual manner: |
| 45 |
|
| 46 |
(asdf:oos 'asdf:load-op 'asdf-system-connections) |
| 47 |
|
| 48 |
|
| 49 |
### Mailing Lists |
| 50 |
|
| 51 |
Nope. Sorry, there isn't one. You can, however, contact [Gary |
| 52 |
King][gwking-mail]. The best way to keep updated is to follow |
| 53 |
the metabang weblog: [unClog][] |
| 54 |
|
| 55 |
|
| 56 |
### Where is it |
| 57 |
|
| 58 |
the current ASDF-System-Connections repository is on |
| 59 |
[github][github-asdf-System-Connections] and you can clone it using: |
| 60 |
|
| 61 |
git clone git://github.com/gwkkwg/asdf-System-Connections |
| 62 |
|
| 63 |
Its CLiki home is right [where][cliki-home] you'd expect. |
| 64 |
|
| 65 |
|
| 66 |
{anchor news} |
| 67 |
|
| 68 |
### What is happening |
| 69 |
|
| 70 |
<dl> |
| 71 |
<dt>24 February 2013</dt> |
| 72 |
<dd>Updates to make ASC happ(ier) with ASDF; website tweaks</dd> |
| 73 |
|
| 74 |
<dt>19 October 2008</dt> |
| 75 |
<dd>Website rework -- no fire, just smoke</dd> |
| 76 |
</dl> |
| 77 |
</div> |
| 78 |
</div> |
| 79 |
|
| 80 |
{include resources/footer.md} |
| 81 |
|