Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: LorettaDevs/Loretta

Tags

v0.2.14-nightly.17

Toggle v0.2.14-nightly.17's commit message
### Added

- Support for floor division assignments (`//=`) by @toxamin in #157.
- Support for underlines before the number base prefix by @toxamin in #156.

### Changed

- Disabled the token cache to prevent the issue brought up in #152 by @toxamin in #153.

<!-- ### Deprecated -->

<!-- ### Removed -->

### Fixed

- Parsing of empty return statements at the end of the file by @toxamin in #148.

<!-- ### Security -->

v0.2.14-nightly.15

Toggle v0.2.14-nightly.15's commit message
### Added

- Support for floor division assignments (`//=`) by @toxamin in #157.
- Support for underlines before the number base prefix by @toxamin in #156.

### Changed

- Disabled the token cache to prevent the issue brought up in #152 by @toxamin in #153.

<!-- ### Deprecated -->

<!-- ### Removed -->

### Fixed

- Parsing of empty return statements at the end of the file by @toxamin in #148.

<!-- ### Security -->

v0.2.14-nightly.13

Toggle v0.2.14-nightly.13's commit message
### Added

- Support for floor division assignments (`//=`) by @toxamin in #157.
- Support for underlines before the number base prefix by @toxamin in #156.

### Changed

- Disabled the token cache to prevent the issue brought up in #152 by @toxamin in #153.

<!-- ### Deprecated -->

<!-- ### Removed -->

### Fixed

- Parsing of empty return statements at the end of the file by @toxamin in #148.

<!-- ### Security -->

v0.2.14-nightly.5

Toggle v0.2.14-nightly.5's commit message

v0.2.14-nightly.4

Toggle v0.2.14-nightly.4's commit message

v0.2.13

Toggle v0.2.13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Make unfinished strings not go past the end of the line anymore (#146)

* Ensure strings do not lex past the end of the line.
  Fixes #141.

* Remove unused diagnostic.

* Update changelog.

v0.2.13-beta.2

Toggle v0.2.13-beta.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Make unfinished strings not go past the end of the line anymore (#146)

* Ensure strings do not lex past the end of the line.
  Fixes #141.

* Remove unused diagnostic.

* Update changelog.

v0.2.13-nightly.21

Toggle v0.2.13-nightly.21's commit message
### Added

- Implemented support for Luau interpolated strings by @GGG-KILLER in #138.
	- New diagnostics:
		- LUA0033: Interpolated strings must start with the backtick character: \`.
		- LUA0034: Interpolated strings expressions must have a corresponding closing '}' for every opening '{'.
		- LUA0035: Double braces have no meaning, did you mean to escape an opening brace with '\\{'?
		- LUA0036: Interpolated strings are not supported in this lua version.
	- New nodes:
		- `InterpolatedStringContentSyntax`: base node for the parts of the interpolated strings.
		- `InterpolatedStringTextSyntax`: Plain text part of the interpolated strings.
		- `InterpolationSyntax`: the expression "holes" that will be interpolated into the string.
		- `InterpolatedStringExpressionSyntax`: The expression mode for interpolated strings that contains the quotes and parts of the interpolated string.
- Added the `BacktickStringType` setting to `LuaSyntaxOptions` to switch between interpolated strings, hash strings and neither by @GGG-KILLER in #138.
- Added new node `FunctionTypeParameterSyntax` that represents a parameter to a function type/signature by @GGG-KILLER in #145.

### Changed

- Identifier tokens now never have a `ContextualKind` by @GGG-KILLER in #134.
- **[Breaking]** `LuaSyntaxOptions.Luau` has been modified to enable floor division by @GGG-KILLER in #133.
- **[Breaking]** Fixed the way invalid statement diagnostics are generated by changing them to be generated on the skipped token instead of on the full missing identifier node by @GGG-KILLER in #135.
- **[Breaking]** `LuaSyntaxOptions.All` now accepts interpolated strings instead of hash strings by @GGG-KILLER in #138.
- **[Breaking]** `FunctionTypeSyntax.Parameters` (and associated method parameters) have been switched from a `SeparatedSyntaxList<TypeSyntax>` into a `SeparatedSyntaxList<FunctionTypeParameterSyntax>` by @GGG-KILLER in #145.
- **[Breaking]** `SyntaxFactory.FunctionType` now accepts a `SeparatedSyntaxList<FunctionTypeParameterSyntax>` instead of a `SeparatedSyntaxList<TypeSyntax>` by @GGG-KILLER in #145.

### Deprecated

- Deprecated `LuaSyntaxOptions.AcceptHashStrings` in favor of `LuaSyntaxOptions.BacktickStringType` by @GGG-KILLER in #138.

### Removed

- `acceptHashStrings` has been removed from `LuaSyntaxOptions` constructor and `.With` in favor of `backtickStringType` by @GGG-KILLER in #138.
- Diagnostic LUA0029 (Hash strings are not supported in this lua version) has been removed (and replaced with LUA0036) by @GGG-KILLER in #138.

### Fixed

- Fixed `continue` still being parsed as a keyword even when `ContinueType` was `ContinueType.None` by @GGG-KILLER in #134;
- Fixed `goto` and `::label::` still being parsed when `AcceptGoto` was `false` by @GGG-KILLER in #134.
- Fixed `type` not being interpreted as a contextual keyword by @GGG-KILLER in #144.

v0.2.13-nightly.19

Toggle v0.2.13-nightly.19's commit message
### Added

- Implemented support for Luau interpolated strings by @GGG-KILLER in #138.
  - New diagnostics:
    - LUA0033: Interpolated strings must start with the backtick character: \`.
    - LUA0034: Interpolated strings expressions must have a corresponding closing '}' for every opening '{'.
    - LUA0035: Double braces have no meaning, did you mean to escape an opening brace with '\\{'?
    - LUA0036: Interpolated strings are not supported in this lua version.
  - New nodes:
    - `InterpolatedStringContentSyntax`: base node for the parts of the interpolated strings.
    - `InterpolatedStringTextSyntax`: Plain text part of the interpolated strings.
    - `InterpolationSyntax`: the expression "holes" that will be interpolated into the string.
    - `InterpolatedStringExpressionSyntax`: The expression mode for interpolated strings that contains the quotes and parts of the interpolated string.
- Added the `BacktickStringType` setting to `LuaSyntaxOptions` to switch between interpolated strings, hash strings and neither by @GGG-KILLER in #138.

### Changed

- Identifier tokens now never have a `ContextualKind` by @GGG-KILLER in #134.
- **[Breaking]** `LuaSyntaxOptions.Luau` has been modified to enable floor division by @GGG-KILLER in #133.
- **[Breaking]** Fixed the way invalid statement diagnostics are generated by changing them to be generated on the
  skipped token instead of on the full missing identifier node by @GGG-KILLER in
  #135.
- **[Breaking]** `LuaSyntaxOptions.All` now accepts interpolated strings instead of hash strings by @GGG-KILLER in #138.

### Deprecated

- Deprecated `LuaSyntaxOptions.AcceptHashStrings` in favor of `LuaSyntaxOptions.BacktickStringType` by @GGG-KILLER in #138.

### Removed

- `acceptHashStrings` has been removed from `LuaSyntaxOptions` constructor and `.With` in favor of `backtickStringType` by @GGG-KILLER in #138.
- Diagnostic LUA0029 (Hash strings are not supported in this lua version) has been removed (and replaced with LUA0036) by @GGG-KILLER in #138.

### Fixed

- Fixed `continue` still being parsed as a keyword even when `ContinueType` was `ContinueType.None` by @GGG-KILLER
  in #134;
- Fixed `goto` and `::label::` still being parsed when `AcceptGoto` was `false` by @GGG-KILLER in
  #134.

v0.2.13-nightly.18

Toggle v0.2.13-nightly.18's commit message
### Added

- Implemented support for Luau interpolated strings by @GGG-KILLER in #138.
  - New diagnostics:
    - LUA0033: Interpolated strings must start with the backtick character: \`.
    - LUA0034: Interpolated strings expressions must have a corresponding closing '}' for every opening '{'.
    - LUA0035: Double braces have no meaning, did you mean to escape an opening brace with '\\{'?
    - LUA0036: Interpolated strings are not supported in this lua version.
  - New nodes:
    - `InterpolatedStringContentSyntax`: base node for the parts of the interpolated strings.
    - `InterpolatedStringTextSyntax`: Plain text part of the interpolated strings.
    - `InterpolationSyntax`: the expression "holes" that will be interpolated into the string.
    - `InterpolatedStringExpressionSyntax`: The expression mode for interpolated strings that contains the quotes and parts of the interpolated string.
- Added the `BacktickStringType` setting to `LuaSyntaxOptions` to switch between interpolated strings, hash strings and neither by @GGG-KILLER in #138.

### Changed

- Identifier tokens now never have a `ContextualKind` by @GGG-KILLER in #134.
- **[Breaking]** `LuaSyntaxOptions.Luau` has been modified to enable floor division by @GGG-KILLER in #133.
- **[Breaking]** Fixed the way invalid statement diagnostics are generated by changing them to be generated on the
  skipped token instead of on the full missing identifier node by @GGG-KILLER in
  #135.
- **[Breaking]** `LuaSyntaxOptions.All` now accepts interpolated strings instead of hash strings by @GGG-KILLER in #138.

### Deprecated

- Deprecated `LuaSyntaxOptions.AcceptHashStrings` in favor of `LuaSyntaxOptions.BacktickStringType` by @GGG-KILLER in #138.

### Removed

- `acceptHashStrings` has been removed from `LuaSyntaxOptions` constructor and `.With` in favor of `backtickStringType` by @GGG-KILLER in #138.
- Diagnostic LUA0029 (Hash strings are not supported in this lua version) has been removed (and replaced with LUA0036) by @GGG-KILLER in #138.

### Fixed

- Fixed `continue` still being parsed as a keyword even when `ContinueType` was `ContinueType.None` by @GGG-KILLER
  in #134;
- Fixed `goto` and `::label::` still being parsed when `AcceptGoto` was `false` by @GGG-KILLER in
  #134.