aboutsummaryrefslogtreecommitdiff
path: root/sprinkler/README.pod
blob: 301aa498923e7870bdaedb3f59113738d9811ef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
=pod

README for pd external 'sprinkler' (formerly 'forward')

=head1 DESCRIPTION

'sprinkler' objects do dynamic control-message dissemination.

Given a list as input, a 'sprinkler' object interprets the initial
list element as the name of a 'receive' object, and [send]s the
rest of the list to that object.

=head1 INSTALLATION

Issue the following commands to the shell:

   cd sprinkler-X.YY  (or wherever you extracted the distribution)
   ./configure
   make
   make install

=head1 BUILD OPTIONS

The 'configure' script supports the following options, among others:

=over 4

=item --enable-debug , --disable-debug

Whether to enable verbose debugging messages.
Default=no.

=item --enable-forward , --disable-forward

Whether to create [forward] objects as instances
of the [sprinkler] class (MAX-incompatible).
Default=no.

=item --enable-all-forwardmess , --disable-all-forwardmess

Whether to use pd_forwardmess() for all messages.  If this
option is disabled (the default), messages of length 1 will
be handled specially; thus a symbol 'foo' will be passed as
'symbol foo', rather than just 'foo'.

Default=no.

Future versions of 'sprinkler' may use pd_forwardmess() for
all messages by default -- go on, try it!

=back

=head1 ACKNOWLEDGEMENTS

PD by Miller Puckette and others.

Ideas, black magic, and other nuggets of information drawn
from code by Guenter Geiger, Larry Troxler, and iohannes m zmoeling.

Thanks to Krzysztof Czaja for pointing out to me the existence of MAX "forward",
and to Miller Puckette for the name "sprinkler".

Thanks to Erasmus Zipfel for a bugreport and useful ideas.

=head1 KNOWN BUGS

One of the acknowledgements used to be in this section.
Sorry, folks.

Backwards-compatible version is incompatible with MAX.

Semantic strangeness with singleton messages is somewhat cryptic.

=head1 AUTHOR

Bryan Jurish E<lt>moocow@ling.uni-potsdam.deE<gt>