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

feat: use the new reserved rules api #263

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: use the new reserved rules api #263

wants to merge 1 commit into from

Conversation

amaanq
Copy link
Member

@amaanq amaanq commented Nov 23, 2024

⚠️ Needs tree-sitter/tree-sitter#3896 ⚠️

@calebdw you probably know PHP better than me, it'd be nice if you can audit this, but so far from what I can tell everything in the corpus parses as it should, and we have much better error recovery in a variety of cases, I just put 2 in a test (compare with error recovery w/o this PR to see a staggering difference :) ) (you will need to build tree-sitter from the branch in the linked PR to play w/ this)

@calebdw
Copy link
Collaborator

calebdw commented Nov 23, 2024

Awesome! Looks interesting, I'll play with it in the next couple of days.

I'm fairly certain named arguments could benefit from this as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants