Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hydroflow): implement flo loop syntax parsing #1507

Closed
wants to merge 2 commits into from

Conversation

MingweiSamuel
Copy link
Member

@MingweiSamuel MingweiSamuel commented Oct 28, 2024

Just the parsing. Error checking not yet implemented, semantics/scheduling not yet implemented.

users = source_stream(0..);
messages = source_stream(0..);
loop {
    users -> batch() -> [0]cp;
    messages -> batch() -> [1]cp;
    cp = cross_join() -> for_each(|(user, message)| println!("notify {} of {}", user, message));
}

(batch() does not yet exist)

@MingweiSamuel MingweiSamuel marked this pull request as draft October 28, 2024 19:33
@MingweiSamuel MingweiSamuel changed the title WIP: flo syntax feat: implement flo syntax Oct 29, 2024
@MingweiSamuel MingweiSamuel changed the title feat: implement flo syntax feat(hydroflow): implement flo loop syntax parsing Oct 29, 2024
@MingweiSamuel MingweiSamuel marked this pull request as ready for review October 29, 2024 21:21
MingweiSamuel added a commit to MingweiSamuel/hydroflow that referenced this pull request Nov 21, 2024
Check for non-root sources and cycles in loop blocks

Depends on hydro-project#1507
Depends on hydro-project#1512
MingweiSamuel added a commit to MingweiSamuel/hydroflow that referenced this pull request Nov 21, 2024
Check for non-root sources and cycles in loop blocks

Depends on hydro-project#1507
Depends on hydro-project#1512
MingweiSamuel added a commit to MingweiSamuel/hydroflow that referenced this pull request Nov 26, 2024
Check for non-root sources and cycles in loop blocks

Depends on hydro-project#1507
Depends on hydro-project#1512
MingweiSamuel added a commit to MingweiSamuel/hydroflow that referenced this pull request Nov 27, 2024
…#1585)

Check for non-root sources and cycles in loop blocks

Depends on hydro-project#1507
Depends on hydro-project#1512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants