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

Update tree-sitter grammar and tests addressing Dongbo's feedback #223

Merged
merged 13 commits into from
Oct 11, 2023

Conversation

SteveL-MSFT
Copy link
Member

PR Summary

  • Remove node bindings as they aren't used
  • Remove pal project from rust-analyzer as it causes it to crash on macOS
  • Fix casing of generated binding
  • Update grammar to support nested dot-notation: [functionOne(functionTwo().member)] which produces an expression node, so tests updated to account for this

Have not figured out yet how to have [Test] string just pass-through as a string literal. cc @daxian-dbw

PR Context

Copy link
Contributor

@miroman9364 miroman9364 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@daxian-dbw daxian-dbw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Left a few comments.

.gitignore Outdated Show resolved Hide resolved
tree-sitter-dscexpression/grammar.js Outdated Show resolved Hide resolved
@SteveL-MSFT SteveL-MSFT added this pull request to the merge queue Oct 11, 2023
Merged via the queue into PowerShell:main with commit 2d786e5 Oct 11, 2023
4 checks passed
@SteveL-MSFT SteveL-MSFT deleted the tree-sitter-update branch October 11, 2023 02:22
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.

None yet

3 participants