Skip to content

allow sharing code between rust and napi#543

Merged
OmarTawfik merged 1 commit intomainfrom
OmarTawfik/share-napi-code
Jul 24, 2023
Merged

allow sharing code between rust and napi#543
OmarTawfik merged 1 commit intomainfrom
OmarTawfik/share-napi-code

Conversation

@OmarTawfik
Copy link
Copy Markdown
Contributor

No description provided.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jul 17, 2023

🦋 Changeset detected

Latest commit: 51b4ccc

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

This PR includes changesets to release 1 package
Name Type
changelog 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 OmarTawfik/move-codegen-syntax-to-legacy branch from 8ecb691 to f903ee5 Compare July 17, 2023 15:09
@OmarTawfik OmarTawfik force-pushed the OmarTawfik/share-napi-code branch from c48dbc9 to bb76731 Compare July 17, 2023 15:09
@OmarTawfik OmarTawfik marked this pull request as ready for review July 17, 2023 17:19
@OmarTawfik OmarTawfik requested a review from a team as a code owner July 17, 2023 17:19
@OmarTawfik OmarTawfik mentioned this pull request Jul 19, 2023
@OmarTawfik OmarTawfik linked an issue Jul 19, 2023 that may be closed by this pull request
@OmarTawfik OmarTawfik force-pushed the OmarTawfik/move-codegen-syntax-to-legacy branch 3 times, most recently from bb28fe4 to 0285a48 Compare July 24, 2023 07:33
Base automatically changed from OmarTawfik/move-codegen-syntax-to-legacy to main July 24, 2023 07:54
@OmarTawfik OmarTawfik force-pushed the OmarTawfik/share-napi-code branch from bb76731 to 51b4ccc Compare July 24, 2023 08:03
@OmarTawfik OmarTawfik enabled auto-merge July 24, 2023 08:03
@OmarTawfik OmarTawfik added this pull request to the merge queue Jul 24, 2023
Merged via the queue into main with commit 7a34599 Jul 24, 2023
@OmarTawfik OmarTawfik deleted the OmarTawfik/share-napi-code branch July 24, 2023 08:23
@github-actions github-actions bot mentioned this pull request Jul 24, 2023
github-merge-queue bot pushed a commit that referenced this pull request Aug 2, 2023
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.9.0

### Minor Changes

- [#540](#540)
[`0d04f95`](0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add a Rust
Cursor API and refactor the Rust Visitor API to run on top of it.

- [#540](#540)
[`0d04f95`](0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Move Visitor
et al to node:: namespace, which is where Cursor is.

- [#540](#540)
[`0d04f95`](0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Rename
`range` functions that return a TextRange to `text_range`

### Patch Changes

- [#543](#543)
[`7a34599`](7a34599)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Move
`syntax::parser::ProductionKind` to `syntax::nodes` namespace.

- [#540](#540)
[`0d04f95`](0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add
TokenNode.text to the TS API.

- [#540](#540)
[`0d04f95`](0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add first
pass of Typescript binding to the Cursor API, but no TS Visitor yet.

- [#545](#545)
[`e73658a`](e73658a)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - render EBNF
grammar on top of each `ProductionKind`, `RuleKind`, and `TokenKind`.

- [#558](#558)
[`95bbc50`](95bbc50)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Correct
versioning for `SourceUnitMember` and `ContractMember` children.

## changelog@0.9.0

### Minor Changes

- [#540](#540)
[`0d04f95`](0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add a Rust
Cursor API and refactor the Rust Visitor API to run on top of it.

- [#540](#540)
[`0d04f95`](0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Move Visitor
et al to node:: namespace, which is where Cursor is.

- [#540](#540)
[`0d04f95`](0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Rename
`range` functions that return a TextRange to `text_range`

### Patch Changes

- [#543](#543)
[`7a34599`](7a34599)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Move
`syntax::parser::ProductionKind` to `syntax::nodes` namespace.

- [#540](#540)
[`0d04f95`](0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add
TokenNode.text to the TS API.

- [#540](#540)
[`0d04f95`](0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add first
pass of Typescript binding to the Cursor API, but no TS Visitor yet.

- [#545](#545)
[`e73658a`](e73658a)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - render EBNF
grammar on top of each `ProductionKind`, `RuleKind`, and `TokenKind`.

- [#558](#558)
[`95bbc50`](95bbc50)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Correct
versioning for `SourceUnitMember` and `ContractMember` children.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
rollup-smithbm0p added a commit to rollup-smithbm0p/slang that referenced this pull request Dec 26, 2025
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.9.0

### Minor Changes

- [#540](NomicFoundation/slang#540)
[`0d04f95`](NomicFoundation/slang@0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add a Rust
Cursor API and refactor the Rust Visitor API to run on top of it.

- [#540](NomicFoundation/slang#540)
[`0d04f95`](NomicFoundation/slang@0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Move Visitor
et al to node:: namespace, which is where Cursor is.

- [#540](NomicFoundation/slang#540)
[`0d04f95`](NomicFoundation/slang@0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Rename
`range` functions that return a TextRange to `text_range`

### Patch Changes

- [#543](NomicFoundation/slang#543)
[`7a34599`](NomicFoundation/slang@7a34599)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Move
`syntax::parser::ProductionKind` to `syntax::nodes` namespace.

- [#540](NomicFoundation/slang#540)
[`0d04f95`](NomicFoundation/slang@0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add
TokenNode.text to the TS API.

- [#540](NomicFoundation/slang#540)
[`0d04f95`](NomicFoundation/slang@0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add first
pass of Typescript binding to the Cursor API, but no TS Visitor yet.

- [#545](NomicFoundation/slang#545)
[`e73658a`](NomicFoundation/slang@e73658a)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - render EBNF
grammar on top of each `ProductionKind`, `RuleKind`, and `TokenKind`.

- [#558](NomicFoundation/slang#558)
[`95bbc50`](NomicFoundation/slang@95bbc50)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Correct
versioning for `SourceUnitMember` and `ContractMember` children.

## changelog@0.9.0

### Minor Changes

- [#540](NomicFoundation/slang#540)
[`0d04f95`](NomicFoundation/slang@0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add a Rust
Cursor API and refactor the Rust Visitor API to run on top of it.

- [#540](NomicFoundation/slang#540)
[`0d04f95`](NomicFoundation/slang@0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Move Visitor
et al to node:: namespace, which is where Cursor is.

- [#540](NomicFoundation/slang#540)
[`0d04f95`](NomicFoundation/slang@0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Rename
`range` functions that return a TextRange to `text_range`

### Patch Changes

- [#543](NomicFoundation/slang#543)
[`7a34599`](NomicFoundation/slang@7a34599)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Move
`syntax::parser::ProductionKind` to `syntax::nodes` namespace.

- [#540](NomicFoundation/slang#540)
[`0d04f95`](NomicFoundation/slang@0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add
TokenNode.text to the TS API.

- [#540](NomicFoundation/slang#540)
[`0d04f95`](NomicFoundation/slang@0d04f95)
Thanks [@AntonyBlakey](https://github.com/AntonyBlakey)! - Add first
pass of Typescript binding to the Cursor API, but no TS Visitor yet.

- [#545](NomicFoundation/slang#545)
[`e73658a`](NomicFoundation/slang@e73658a)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - render EBNF
grammar on top of each `ProductionKind`, `RuleKind`, and `TokenKind`.

- [#558](NomicFoundation/slang#558)
[`95bbc50`](NomicFoundation/slang@95bbc50)
Thanks [@OmarTawfik](https://github.com/OmarTawfik)! - Correct
versioning for `SourceUnitMember` and `ContractMember` children.

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.

Unify Rust/TS codegen

2 participants