Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release 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. 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/[email protected]
Minor Changes
#502
c383238
Thanks @AntonyBlakey! - Added error recovery i.e. a CST is always produced, even if there are errors. The erroneous/skipped text is in the CST as aTokenKind::SKIPPED
token.#501
cb221fe
Thanks @OmarTawfik! - generate typescript string enums for CST kinds#517
8bd5446
Thanks @OmarTawfik! - extract inlined and sub-expressions in language grammar#518
b3b562b
Thanks @OmarTawfik! - fill in missing CST node names#515
f24e873
Thanks @OmarTawfik! - switch over the NPM package to use CommonJS modules instead of ES modules.#498
44f1ff7
Thanks @OmarTawfik! - flatten unnamed CST nodes into parent nodes#502
c383238
Thanks @AntonyBlakey! - Use the Rowan model for the CST i.e. TokenNodes contain the string content, and RuleNodes contain only the combined length of their children's text.#499
1582d60
Thanks @OmarTawfik! - preserve correct ranges on empty rule nodes#500
73ddac9
Thanks @OmarTawfik! - inlining CST nodes that offer no additional syntactic information#512
72dc3d3
Thanks @AntonyBlakey! - Expression productions now correctly wrap the recursive 'calls' in a rule node[email protected]
Minor Changes
#502
c383238
Thanks @AntonyBlakey! - Added error recovery i.e. a CST is always produced, even if there are errors. The erroneous/skipped text is in the CST as aTokenKind::SKIPPED
token.#501
cb221fe
Thanks @OmarTawfik! - generate typescript string enums for CST kinds#517
8bd5446
Thanks @OmarTawfik! - extract inlined and sub-expressions in language grammar#518
b3b562b
Thanks @OmarTawfik! - fill in missing CST node names#515
f24e873
Thanks @OmarTawfik! - switch over the NPM package to use CommonJS modules instead of ES modules.#498
44f1ff7
Thanks @OmarTawfik! - flatten unnamed CST nodes into parent nodes#502
c383238
Thanks @AntonyBlakey! - Use the Rowan model for the CST i.e. TokenNodes contain the string content, and RuleNodes contain only the combined length of their children's text.#499
1582d60
Thanks @OmarTawfik! - preserve correct ranges on empty rule nodes#500
73ddac9
Thanks @OmarTawfik! - inlining CST nodes that offer no additional syntactic information#512
72dc3d3
Thanks @AntonyBlakey! - Expression productions now correctly wrap the recursive 'calls' in a rule node