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

Feature: Add support for match conditions #9

Open
alimpfard opened this issue Sep 22, 2020 · 0 comments
Open

Feature: Add support for match conditions #9

alimpfard opened this issue Sep 22, 2020 · 0 comments

Comments

@alimpfard
Copy link
Owner

It'd be neat if we could somehow generate (and optimise for) runtime conditional matches, possibly with base syntax like:

# As a runtime cond
define global x = 0
Foobar :: Foo\C{x < 4}bar

# Or as a 'start condition'
define global state = 0
Foobar :: \C{state ? 0}Foobar\E{state = 1}
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

No branches or pull requests

1 participant