Closed swanskysong closed 9 years ago
Hello Team,
Happy new year to everyone and your family!
I have arrived the campus on 30th and spent 2 days to familiar with the local environment. I am reading the code now. Please let me know if there is any task that I can do.
Best regards,
Yang
On Jan 1, 2015, at 9:00 PM, Timothy McPhillips notifications@github.com wrote:
Note that the Java prototype uses the alias (the token following the @as keyword) for matching @in with @out ports when inferring channels between yw-commented blocks of code. As @swanskysong https://github.com/swanskysong points out, this allows the script writer to update a variable within a block (@in x and @out x on the same block) and then to declare @in x on downstream blocks as well, as long as each use of x has a distinct alias.
Aliases also are used to match @in and @out comments on the top-level ('workflow') block with @in and @out comments on blocks ('programs') within the script to model flow of data into and out of the script.
The token following the @in or @out keyword is used for these purposes if no alias is given.
— Reply to this email directly or view it on GitHub https://github.com/yesworkflow-org/yw-prototypes/issues/8#issuecomment-68506646.
Note that the Java prototype uses the alias (the token following the
@as
keyword) for matching@in
with@out
ports when inferring channels between yw-commented blocks of code. As @swanskysong points out, this allows the script writer to update a variable within a block (@in x
and@out x
on the same block) and then to declare@in x
on downstream blocks as well, as long as each use of x has a distinct alias.Aliases also are used to match
@in
and@out
comments on the top-level ('workflow') block with@in
and@out
comments on blocks ('programs') within the script to model flow of data into and out of the script.The token following the
@in
or@out
keyword is used for these purposes if no alias is given.