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

Sf/before plugin #22

Merged
merged 8 commits into from
Sep 19, 2023
Merged

Sf/before plugin #22

merged 8 commits into from
Sep 19, 2023

Conversation

denizenging
Copy link
Member

This PR adds support for BeforePlugins to inject variables into the actual Zenroom execution.

denizenging and others added 8 commits September 15, 2023 19:29
Zenroom might throw an exception when we're trying to get the list of ignored
statements.  This fixes that.
Now, the BeforePlugin class can optionally return a ZenroomParams that will be
injected into the actual Zenroom execution.
Slangroom statement will be exectuted in the order they are written
such that it is possible to use data from a previous computation.

All slangroom statement should be written before (for given) or
after (for then) the zenroom statements. This is because, at the
moment, we cannot start executing zenroom and suspend its execution
before each slangroom statement (maybe it will be possible with
improvement on exportable heap in zenroom).
@denizenging denizenging merged commit 0470734 into main Sep 19, 2023
0 of 6 checks passed
@denizenging denizenging deleted the sf/before-plugin branch September 21, 2023 12:42
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