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 support for namespaced primops #48

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

yannham
Copy link
Contributor

@yannham yannham commented Jun 3, 2024

Depends on #46.

Nickel has changed some primops to contain a forward slash / (see tweag/nickel#1937), which wasn't supported by the tree-sitter grammar (they would be parsed as modulo instead).

This commit extends the builtin rule to accepts a larger class of valid builtin names, including those new ones, and hopefully potential future ones as well.

yannham and others added 2 commits June 4, 2024 10:51
Add support for enum variant in types
Nickel has change some primops to contain a forward slash `/`, which
wasn't supported by the parser (they would be parsed as modulo instead).

This commit extend the `builtin` rule to accepts a larger class of valid
builtin names, including those new ones, and hopefully potential future
ones as well.
@yannham yannham merged commit 1ac9614 into fix/enum-variant-types Jun 4, 2024
1 check passed
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.

1 participant