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

Implement pattern matching #15

Open
WilliamRagstad opened this issue Aug 13, 2021 · 0 comments
Open

Implement pattern matching #15

WilliamRagstad opened this issue Aug 13, 2021 · 0 comments
Labels
enhancement New feature or request semantics Language meaning and computationally related issues syntax Language design related issues

Comments

@WilliamRagstad
Copy link
Owner

There is currently a simple pattern matching system implemented, tho it does not support destructuring of lists or objects. Most advanced is the match expression which is just assigning a variable for each closure and checking if a condition is true, in that case that branch is taken and the value returned.
We need proper pattern matching as similar to Elixir for both assignment and match expressions.

Blocked by

@WilliamRagstad WilliamRagstad added enhancement New feature or request semantics Language meaning and computationally related issues syntax Language design related issues labels Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request semantics Language meaning and computationally related issues syntax Language design related issues
Projects
None yet
Development

No branches or pull requests

1 participant