Releases: NomicFoundation/slang
v0.7.0
0.7.0
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
v0.6.0
0.6.0
Minor Changes
-
#490
ea8e7e7
Thanks @OmarTawfik! - provide API to list supported language versions -
#489
15c34a7
Thanks @OmarTawfik! - replace panics with JS exceptions in npm package
Patch Changes
- #488
d7f171c
Thanks @DaniPopes! - introduce acli
Cargo feature to compile the CLI binary
v0.5.0
0.5.0
Minor Changes
-
#475
0cdfe86
Thanks @OmarTawfik! - match TypeScript and Rust API namespaces -
#477
13c85a2
Thanks @OmarTawfik! - move expression operators into separate nodes -
#481
0269f2b
Thanks @OmarTawfik! - fix grammar versions of individual keywords -
#473
11d8cb0
Thanks @OmarTawfik! - upgrade to rust 1.69.0
v0.4.0
0.4.0
Minor Changes
-
#458
c0fc7e9
Thanks @AntonyBlakey! - Record both character and byte offsets for input positions -
#463
0958d6b
Thanks @OmarTawfik! - usenumber
and getters in npm public API
v0.3.0
0.3.0
Minor Changes
-
#457
b7aae2a
Thanks @OmarTawfik! - minor grammar fixes -
#453
0f2f9ab
Thanks @OmarTawfik! - move Rust'ssyntax::Parser::Language
API to root module -
#454
85dec01
Thanks @OmarTawfik! - moving to Rust version 1.65.0 -
#456
c6d1041
Thanks @OmarTawfik! - exposeParseError
API -
#451
78f633c
Thanks @OmarTawfik! - renameVisitorExitResponse::StepIn
toVisitorExitResponse::Continue
v0.2.1
v0.2.0
0.2.0
Minor Changes
- #435
2a5b193
Thanks @OmarTawfik! - support user defined operators
Patch Changes
-
#416
fb977a5
Thanks @OmarTawfik! - fix primary expressions parser order -
#434
beb3708
Thanks @OmarTawfik! - fix UnicodeStringLiteral versioning -
#430
8b7492e
Thanks @OmarTawfik! - update READMEs with links to packages and user guides. -
#425
9b49b3d
Thanks @OmarTawfik! - add user guides to rust crate and npm packages. -
#432
1d1a8bb
Thanks @OmarTawfik! - fix FunctionCallOptions versioning -
#427
1103916
Thanks @AntonyBlakey! - fix VariableDeclarationStatement versioning