Skip to content

Update proposal to match new group consensus#293

Merged
tabatkins merged 75 commits intomainfrom
new-proposal
Mar 18, 2024
Merged

Update proposal to match new group consensus#293
tabatkins merged 75 commits intomainfrom
new-proposal

Conversation

@tabatkins
Copy link
Copy Markdown
Collaborator

@tabatkins tabatkins commented Aug 29, 2023

WORK IN PROGRESS, DO NOT MERGE

Rewriting the proposal to be in line with https://gist.github.com/tabatkins/51f35f88d7eea61d9ecbe3e82da817a5, as agreed by the champion group.

Currently I've only got the matchers rewritten as a first pass; have not yet done the match(){} expression or the is operator.

Closes #314.
Closes #313.
Closes #303.
Closes #301.
Closes #299.
Closes #297.
Closes #283.
Closes #282.
Closes #281.
Closes #264.
Closes #255.
Closes #253.

@Jack-Works
Copy link
Copy Markdown
Member

Do we have these patterns (relation patterns) in this PR from @rbuckton?

when (x > 20 and < 40) ...

@tabatkins
Copy link
Copy Markdown
Collaborator Author

Do we have these patterns (relation patterns)

No, they don't have champion consensus yet.

@Jack-Works
Copy link
Copy Markdown
Member

Hi @tabatkins did you forget the if matcher?

when pattern: ...
if (expression): ...
default: ...

tabatkins and others added 8 commits September 7, 2023 13:12
Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
@ljharb ljharb marked this pull request as ready for review October 10, 2023 16:11
@ljharb ljharb marked this pull request as draft October 10, 2023 16:11
@Jack-Works
Copy link
Copy Markdown
Member

The new spec (#295) is ready for review, I hope you can pick some ideas from it and update the README because more details are considered when writing the spec than just considering the normal cases. thanks!

@tabatkins tabatkins marked this pull request as ready for review March 18, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

10 participants