input language proposal
Eddie Kohler
eddietwo at cag.lcs.mit.edu
Sat Mar 27 20:44:34 EST 1999
The language has two primitives: "::" -- declare a faction -- and "->" --
connect two factions.
Examples:
f :: Discard; # f1 is a Discard
f2 :: Discard; # f2 also
f1 -> f2; # connect f1's output port 0 to f2's input port 0
f1.1 -> f2.2; # connect f1's output port 1 to f2's input port 2
Configuring factions:
f :: Strip(14); # The string "14" will be passed to the Strip faction via
# the "configure()" method. It will parse the string & behave
# accordingly.
Shorthand:
f, f2, f3, f4 :: Strip(14); # declare multiple Strip(14)s
TimedSource -> TimedSink; # unnamed factions (just give the type)
f1->f2->f3->f4; # multiple connections on one line
This should all be ready by Monday. In order for it to work, **YOU MUST
PROVIDE WORKING clone() CALLS!! NO MORE LAMING OUT!**
love,
ed
More information about the click
mailing list