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

Non deterministic #2

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Non deterministic #2

wants to merge 12 commits into from

Conversation

Timisorean
Copy link
Owner

@Timisorean Timisorean commented Aug 31, 2024

Add support for :non-deterministic (and thus the oneof keyword).

This is done by modifying the structure of the AST:

         ┌─────────────── EffectRoot ─────────┐
         │                                    │
         ▼                                    ▼ 
EffectRootNonDeterministic──────────►EffectRootDeterministic

Here EffectRootDeterministicis equivalent to EffectRootbefore changes.

Additionally, the effect EffectOneof is introduced. It has one attribute, effects, which is a list of all the possible effects of the action.

TODO:

  • Check compatibility in mimir

@Timisorean Timisorean changed the title Non deterministic new Non deterministic Sep 3, 2024
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.

1 participant