Skip to content

Add match expressions #59

@slightknack

Description

@slightknack

Course of action:

  • Add match keyword to the lexer
  • Add match keyword to the parse tree
  • Implement pass to expand match arms into decision trees
  • Reduce decicion trees to constructs present in the language core

Here are some papers that might help with the third step. There was this really good gist or issue that explained the algorithm in detail, but I can't seem to find it.

Metadata

Metadata

Assignees

Labels

featureFeatures that add something new to the language

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions