Skip to content

Releases: degory/ghul

v0.8.8

02 Mar 19:22
725ae33
Compare
Choose a tag to compare

Auto dereferencing for method calls and property accesses (#1098)

Enhancements:

  • Support auto dereferencing of references for method calls and property accesses #1097

Bugs fixed:

  • Assignable properties in traits are not public #1096

v0.8.7

02 Mar 10:34
29308f4
Compare
Choose a tag to compare

Use scoped disposal to manage speculative parsing (#1095)

Technical

  • Create disposable wrappers around the tokenizer and logger speculation mechanisms
  • Use let use rather than try / finally where possible to ensure speculation always properly back-tracked or committed

v0.8.6

01 Mar 23:06
4234ddb
Compare
Choose a tag to compare

Clean-up tokenizer lookahead (#1094)

Technical:

  • Adjust the way the token queue read + write indexes are maintained so the pre-speculate state can be restored without having to save the previous token on the speculative token queue index stack
  • Add unit tests for the token queue and speculative token lookahead mechanisms.

v0.8.5

01 Mar 09:11
7b0a6f8
Compare
Choose a tag to compare

Fix scoped disposal of value types (#1093)

Bugs fixed:

  • Scoped disposal doesn't work correctly for value types (closes #1092)

v0.8.4

29 Feb 17:57
22cf0e9
Compare
Choose a tag to compare

Scoped resource disposal (#1091)

Enhancements:

  • Scoped disposal of local variables declared with let use (closes #1090)
  • Prevent assignment to captured values (was a warning, now an error)

v0.8.3

27 Feb 22:37
fbc5801
Compare
Choose a tag to compare

String interpolation align and format support (#1088)

Enhancements:

  • Support alignment and format specifiers for interpolated expressions in string literals (#1071)
  • Improved error recovery and reporting for incomplete string interpolations

Technical

  • Increase the timeout for the create version CI workflow job

v0.8.2

26 Feb 16:58
88c4e77
Compare
Choose a tag to compare

Parser recovery improvements (#1087)

Enhancements:

  • Better parser error recovery for incomplete and garbled class, method and property definitions (see #1086)

Technical:

  • Rewrite the tokenizer lookahead mechanism so it reliably supports multiple levels of speculation
  • Replace use of string concatenation with interpolation throughout the compiler source

v0.8.1

21 Feb 19:25
43003e8
Compare
Choose a tag to compare

Fix can't return string interpolation (#1085)

Bugs fixed:

  • Attempting to return a string with interpolations using a return statement results in a syntax error

v0.8.0

21 Feb 17:53
e8cb039
Compare
Choose a tag to compare

String interpolation support (#1083)

Enhancements:

  • Support string interpolation in literals delimited with double quotes (see #1071)

Technical:

  • Remove broken version number input from workflow dispatch trigger in CI pipeline YAML

Notes:

  • This version changes how string literals are interpreted. Existing code with string literals that contain { and } will need to be updated to quote them. See linked issue for details.

Bumps #minor version

v0.7.13

21 Feb 15:33
d78277f
Compare
Choose a tag to compare

Scaffolding for string interpolation (#1082)

Technical:

  • Add temporary support for quoting curly braces in plain string literals by doubling them.

Notes:

  • This is needed to support bootstrapping the compiler over the addition of string interpolation support to regular double quoted strings.