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

Pattern matching #102

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Pattern matching #102

wants to merge 5 commits into from

Conversation

iluuu1994
Copy link
Owner

No description provided.

@iluuu1994 iluuu1994 force-pushed the pattern-matching-2 branch 2 times, most recently from 16fdc6b to 360f44e Compare June 19, 2024 12:07
@iluuu1994 iluuu1994 force-pushed the master branch 12 times, most recently from ec2ad32 to ee19427 Compare October 31, 2024 13:05
@iluuu1994 iluuu1994 force-pushed the master branch 6 times, most recently from ac43dcd to 1922f41 Compare November 15, 2024 15:24
This avoids a grammar ambiguity.
This solves issues with the optimizer where it would be unaware of the
assignments that happen inside the pattern matcher. Instead, we now emit
an array of bindings in op2, and extract & assign the values to the
given variables through opcodes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment