Skip to content

Implement pattern matching #15

Description

@WilliamRagstad

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsemanticsLanguage meaning and computationally related issuessyntaxLanguage design related issues

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions