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

Generify CST/Cursor/Query #965

Conversation

OmarTawfik
Copy link
Collaborator

This rebases #930 after applying recent infra changes.

Copy link

changeset-bot bot commented May 16, 2024

🦋 Changeset detected

Latest commit: efcf07b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@nomicfoundation/slang Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@OmarTawfik OmarTawfik force-pushed the rebase-930-after-infra-changes branch from b05437f to a34cf42 Compare May 16, 2024 16:54
@OmarTawfik OmarTawfik marked this pull request as ready for review May 16, 2024 17:01
@OmarTawfik OmarTawfik requested a review from a team as a code owner May 16, 2024 17:01
@OmarTawfik OmarTawfik enabled auto-merge May 16, 2024 17:01
@OmarTawfik OmarTawfik marked this pull request as draft May 16, 2024 17:10
auto-merge was automatically disabled May 16, 2024 17:10

Pull request was converted to draft

This rebases NomicFoundation#930 after applying recent infra changes.
@OmarTawfik OmarTawfik force-pushed the rebase-930-after-infra-changes branch from a34cf42 to efcf07b Compare May 16, 2024 17:11
@OmarTawfik OmarTawfik marked this pull request as ready for review May 16, 2024 17:13
@OmarTawfik OmarTawfik enabled auto-merge May 16, 2024 17:13
@OmarTawfik OmarTawfik added this pull request to the merge queue May 17, 2024
Merged via the queue into NomicFoundation:main with commit 61b6b06 May 17, 2024
1 check passed
@OmarTawfik OmarTawfik deleted the rebase-930-after-infra-changes branch May 17, 2024 08:18
@github-actions github-actions bot mentioned this pull request May 30, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jun 11, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.


# Releases
## @nomicfoundation/slang@0.15.0

### Minor Changes

- [#975](#975)
[`46b1dde`](46b1dde)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename
`QueryResult` to `QueryMatch`, and its `bindings` to `captures`.

- [#971](#971)
[`be943b7`](be943b7)
Thanks [@Xanewok](https://github.com/Xanewok)! - Rename `RuleKind` to
`NonterminalKind`, `TokenKind` to `TerminalKind`, and `NodeLabel` to
`EdgeLabel`.

- [#963](#963)
[`a5593f9`](a5593f9)
Thanks [@Xanewok](https://github.com/Xanewok)! - Introduce a
`Diagnostic` API for compiler errors, warnings etc.

### Patch Changes

- [#996](#996)
[`cdc153d`](cdc153d)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add support for
version `0.8.26`.

- [#983](#983)
[`ea31417`](ea31417)
Thanks [@ggiraldez](https://github.com/ggiraldez)! - Expose the language
root non-terminal kind at `Language.rootKind()`.

- [#965](#965)
[`61b6b06`](61b6b06)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - refactor CST
building and querying utilities into a separate `metaslang_cst` crate.

- [#997](#997)
[`84ad856`](84ad856)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Support stack
assignments in Yul before `0.5.0`.

## @nomicfoundation/slang-darwin-arm64@0.15.0

### Minor Changes

- [#975](#975)
[`46b1dde`](46b1dde)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename
`QueryResult` to `QueryMatch`, and its `bindings` to `captures`.

- [#971](#971)
[`be943b7`](be943b7)
Thanks [@Xanewok](https://github.com/Xanewok)! - Rename `RuleKind` to
`NonterminalKind`, `TokenKind` to `TerminalKind`, and `NodeLabel` to
`EdgeLabel`.

- [#963](#963)
[`a5593f9`](a5593f9)
Thanks [@Xanewok](https://github.com/Xanewok)! - Introduce a
`Diagnostic` API for compiler errors, warnings etc.

### Patch Changes

- [#996](#996)
[`cdc153d`](cdc153d)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add support for
version `0.8.26`.

- [#983](#983)
[`ea31417`](ea31417)
Thanks [@ggiraldez](https://github.com/ggiraldez)! - Expose the language
root non-terminal kind at `Language.rootKind()`.

- [#965](#965)
[`61b6b06`](61b6b06)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - refactor CST
building and querying utilities into a separate `metaslang_cst` crate.

- [#997](#997)
[`84ad856`](84ad856)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Support stack
assignments in Yul before `0.5.0`.

## @nomicfoundation/slang-darwin-x64@0.15.0

### Minor Changes

- [#975](#975)
[`46b1dde`](46b1dde)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename
`QueryResult` to `QueryMatch`, and its `bindings` to `captures`.

- [#971](#971)
[`be943b7`](be943b7)
Thanks [@Xanewok](https://github.com/Xanewok)! - Rename `RuleKind` to
`NonterminalKind`, `TokenKind` to `TerminalKind`, and `NodeLabel` to
`EdgeLabel`.

- [#963](#963)
[`a5593f9`](a5593f9)
Thanks [@Xanewok](https://github.com/Xanewok)! - Introduce a
`Diagnostic` API for compiler errors, warnings etc.

### Patch Changes

- [#996](#996)
[`cdc153d`](cdc153d)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add support for
version `0.8.26`.

- [#983](#983)
[`ea31417`](ea31417)
Thanks [@ggiraldez](https://github.com/ggiraldez)! - Expose the language
root non-terminal kind at `Language.rootKind()`.

- [#965](#965)
[`61b6b06`](61b6b06)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - refactor CST
building and querying utilities into a separate `metaslang_cst` crate.

- [#997](#997)
[`84ad856`](84ad856)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Support stack
assignments in Yul before `0.5.0`.

## @nomicfoundation/slang-linux-arm64-gnu@0.15.0

### Minor Changes

- [#975](#975)
[`46b1dde`](46b1dde)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename
`QueryResult` to `QueryMatch`, and its `bindings` to `captures`.

- [#971](#971)
[`be943b7`](be943b7)
Thanks [@Xanewok](https://github.com/Xanewok)! - Rename `RuleKind` to
`NonterminalKind`, `TokenKind` to `TerminalKind`, and `NodeLabel` to
`EdgeLabel`.

- [#963](#963)
[`a5593f9`](a5593f9)
Thanks [@Xanewok](https://github.com/Xanewok)! - Introduce a
`Diagnostic` API for compiler errors, warnings etc.

### Patch Changes

- [#996](#996)
[`cdc153d`](cdc153d)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add support for
version `0.8.26`.

- [#983](#983)
[`ea31417`](ea31417)
Thanks [@ggiraldez](https://github.com/ggiraldez)! - Expose the language
root non-terminal kind at `Language.rootKind()`.

- [#965](#965)
[`61b6b06`](61b6b06)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - refactor CST
building and querying utilities into a separate `metaslang_cst` crate.

- [#997](#997)
[`84ad856`](84ad856)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Support stack
assignments in Yul before `0.5.0`.

## @nomicfoundation/slang-linux-arm64-musl@0.15.0

### Minor Changes

- [#975](#975)
[`46b1dde`](46b1dde)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename
`QueryResult` to `QueryMatch`, and its `bindings` to `captures`.

- [#971](#971)
[`be943b7`](be943b7)
Thanks [@Xanewok](https://github.com/Xanewok)! - Rename `RuleKind` to
`NonterminalKind`, `TokenKind` to `TerminalKind`, and `NodeLabel` to
`EdgeLabel`.

- [#963](#963)
[`a5593f9`](a5593f9)
Thanks [@Xanewok](https://github.com/Xanewok)! - Introduce a
`Diagnostic` API for compiler errors, warnings etc.

### Patch Changes

- [#996](#996)
[`cdc153d`](cdc153d)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add support for
version `0.8.26`.

- [#983](#983)
[`ea31417`](ea31417)
Thanks [@ggiraldez](https://github.com/ggiraldez)! - Expose the language
root non-terminal kind at `Language.rootKind()`.

- [#965](#965)
[`61b6b06`](61b6b06)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - refactor CST
building and querying utilities into a separate `metaslang_cst` crate.

- [#997](#997)
[`84ad856`](84ad856)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Support stack
assignments in Yul before `0.5.0`.

## @nomicfoundation/slang-linux-x64-gnu@0.15.0

### Minor Changes

- [#975](#975)
[`46b1dde`](46b1dde)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename
`QueryResult` to `QueryMatch`, and its `bindings` to `captures`.

- [#971](#971)
[`be943b7`](be943b7)
Thanks [@Xanewok](https://github.com/Xanewok)! - Rename `RuleKind` to
`NonterminalKind`, `TokenKind` to `TerminalKind`, and `NodeLabel` to
`EdgeLabel`.

- [#963](#963)
[`a5593f9`](a5593f9)
Thanks [@Xanewok](https://github.com/Xanewok)! - Introduce a
`Diagnostic` API for compiler errors, warnings etc.

### Patch Changes

- [#996](#996)
[`cdc153d`](cdc153d)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add support for
version `0.8.26`.

- [#983](#983)
[`ea31417`](ea31417)
Thanks [@ggiraldez](https://github.com/ggiraldez)! - Expose the language
root non-terminal kind at `Language.rootKind()`.

- [#965](#965)
[`61b6b06`](61b6b06)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - refactor CST
building and querying utilities into a separate `metaslang_cst` crate.

- [#997](#997)
[`84ad856`](84ad856)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Support stack
assignments in Yul before `0.5.0`.

## @nomicfoundation/slang-linux-x64-musl@0.15.0

### Minor Changes

- [#975](#975)
[`46b1dde`](46b1dde)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename
`QueryResult` to `QueryMatch`, and its `bindings` to `captures`.

- [#971](#971)
[`be943b7`](be943b7)
Thanks [@Xanewok](https://github.com/Xanewok)! - Rename `RuleKind` to
`NonterminalKind`, `TokenKind` to `TerminalKind`, and `NodeLabel` to
`EdgeLabel`.

- [#963](#963)
[`a5593f9`](a5593f9)
Thanks [@Xanewok](https://github.com/Xanewok)! - Introduce a
`Diagnostic` API for compiler errors, warnings etc.

### Patch Changes

- [#996](#996)
[`cdc153d`](cdc153d)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add support for
version `0.8.26`.

- [#983](#983)
[`ea31417`](ea31417)
Thanks [@ggiraldez](https://github.com/ggiraldez)! - Expose the language
root non-terminal kind at `Language.rootKind()`.

- [#965](#965)
[`61b6b06`](61b6b06)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - refactor CST
building and querying utilities into a separate `metaslang_cst` crate.

- [#997](#997)
[`84ad856`](84ad856)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Support stack
assignments in Yul before `0.5.0`.

## @nomicfoundation/slang-win32-arm64-msvc@0.15.0

### Minor Changes

- [#975](#975)
[`46b1dde`](46b1dde)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename
`QueryResult` to `QueryMatch`, and its `bindings` to `captures`.

- [#971](#971)
[`be943b7`](be943b7)
Thanks [@Xanewok](https://github.com/Xanewok)! - Rename `RuleKind` to
`NonterminalKind`, `TokenKind` to `TerminalKind`, and `NodeLabel` to
`EdgeLabel`.

- [#963](#963)
[`a5593f9`](a5593f9)
Thanks [@Xanewok](https://github.com/Xanewok)! - Introduce a
`Diagnostic` API for compiler errors, warnings etc.

### Patch Changes

- [#996](#996)
[`cdc153d`](cdc153d)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add support for
version `0.8.26`.

- [#983](#983)
[`ea31417`](ea31417)
Thanks [@ggiraldez](https://github.com/ggiraldez)! - Expose the language
root non-terminal kind at `Language.rootKind()`.

- [#965](#965)
[`61b6b06`](61b6b06)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - refactor CST
building and querying utilities into a separate `metaslang_cst` crate.

- [#997](#997)
[`84ad856`](84ad856)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Support stack
assignments in Yul before `0.5.0`.

## @nomicfoundation/slang-win32-ia32-msvc@0.15.0

### Minor Changes

- [#975](#975)
[`46b1dde`](46b1dde)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename
`QueryResult` to `QueryMatch`, and its `bindings` to `captures`.

- [#971](#971)
[`be943b7`](be943b7)
Thanks [@Xanewok](https://github.com/Xanewok)! - Rename `RuleKind` to
`NonterminalKind`, `TokenKind` to `TerminalKind`, and `NodeLabel` to
`EdgeLabel`.

- [#963](#963)
[`a5593f9`](a5593f9)
Thanks [@Xanewok](https://github.com/Xanewok)! - Introduce a
`Diagnostic` API for compiler errors, warnings etc.

### Patch Changes

- [#996](#996)
[`cdc153d`](cdc153d)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add support for
version `0.8.26`.

- [#983](#983)
[`ea31417`](ea31417)
Thanks [@ggiraldez](https://github.com/ggiraldez)! - Expose the language
root non-terminal kind at `Language.rootKind()`.

- [#965](#965)
[`61b6b06`](61b6b06)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - refactor CST
building and querying utilities into a separate `metaslang_cst` crate.

- [#997](#997)
[`84ad856`](84ad856)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Support stack
assignments in Yul before `0.5.0`.

## @nomicfoundation/slang-win32-x64-msvc@0.15.0

### Minor Changes

- [#975](#975)
[`46b1dde`](46b1dde)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - rename
`QueryResult` to `QueryMatch`, and its `bindings` to `captures`.

- [#971](#971)
[`be943b7`](be943b7)
Thanks [@Xanewok](https://github.com/Xanewok)! - Rename `RuleKind` to
`NonterminalKind`, `TokenKind` to `TerminalKind`, and `NodeLabel` to
`EdgeLabel`.

- [#963](#963)
[`a5593f9`](a5593f9)
Thanks [@Xanewok](https://github.com/Xanewok)! - Introduce a
`Diagnostic` API for compiler errors, warnings etc.

### Patch Changes

- [#996](#996)
[`cdc153d`](cdc153d)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - add support for
version `0.8.26`.

- [#983](#983)
[`ea31417`](ea31417)
Thanks [@ggiraldez](https://github.com/ggiraldez)! - Expose the language
root non-terminal kind at `Language.rootKind()`.

- [#965](#965)
[`61b6b06`](61b6b06)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - refactor CST
building and querying utilities into a separate `metaslang_cst` crate.

- [#997](#997)
[`84ad856`](84ad856)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Support stack
assignments in Yul before `0.5.0`.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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