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

Add Jsonnet support #676

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

Add Jsonnet support #676

wants to merge 17 commits into from

Conversation

Duologic
Copy link

@Duologic Duologic commented Mar 22, 2024

Followed the manual, I hope I did it right. It worked on my machine™

tjdevries and others added 17 commits May 19, 2022 07:26
* support 'tailstrict' call annotation

This is used in the standard jsonnet library (std.jsonnet)

test plan:
make test

* add node for tailstrict
This also lays the ground work for fixing the priority
for the binary operators in another PR.

This closes sourcegraph/tree-sitter-jsonnet#6

test plan:
make test
Followed the official spec for the precedence values.

test plan:
make test
* style: fmt

* refactor: cleaner $.expr + match order to abstract syntax (from jsonnet spec)
* fix: compare with 'in' operator

* fix: use field in object for loop

* test: add examples from Wilfred#13 as tests

* test: update test case following suggestion in Wilfred#13
* refactor: replace (expr) with more specific names

* chore: make generate

* feat: add/improve queries

* docs: add syntax.jsonnet example
…1d1cfc1f1f1a80acc9db80ee4596'

git-subtree-dir: vendored_parsers/tree-sitter-jsonnet
git-subtree-mainline: dd7a0c8
git-subtree-split: d34615f
@Duologic
Copy link
Author

@Wilfred Are you still open for adding more languages?

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