Skip to content

Releases: rssh/dotty-cps-async

0.9.22-lts

07 Sep 17:44
Compare
Choose a tag to compare

0.9.22 backported to scala-tls

0.9.22

07 Sep 17:43
Compare
Choose a tag to compare

The main visible changes are:

  • possibility of using await as an extension method (thanks, @cornerman)
  • support of scala-native 0.5
  • Implemented generation of context functions inside macro for support of some corner cases, where previously code generation was impossible.
  • various documentation fixes (thanks, @mio-19)

Full Changelog: 0.9.21...0.9.22

0.9.21

02 Apr 17:20
Compare
Choose a tag to compare

Visible changes in addition to the usual bug fixes:

Compiler-plugin:

  • First release with automatic generation for 'shifted variants' of high-order functions. It is possible when the ho function does not store functional arguments in variables but only invokes (as in map). This is the work of Olena Kravchenko during her GSoC-2023 project. More details can be found in Olena-s presentation: https://docs.google.com/presentation/d/1H5rIQlqeektpZAnC547YnlPoXChrH99UOLMy4kY-pRQ/edit?usp=sharing and GitHub discussion: #79
  • Added compile-time checks for attempts to use direct syntax when the compiler plugin is not enabled. It is possible to freely mix code compiled with and without a plugin, if you accidentally forget the plugin, you will receive a compile-time error.

Logic module:

  • Extend API, add a few examples in tests, and an implementation of CpsLogicMonad over LazyList.

0.9.20

30 Jan 17:17
Compare
Choose a tag to compare

Removed deprecated automatic coloring
Added implementation of TailCallModels
Added logic module: https://github.com/rssh/dotty-cps-async/tree/master/logic
Added to test examples with a few well-known monads (continuation, logic, and unification).

0.9.19

02 Oct 06:27
Compare
Choose a tag to compare

JDK-21 Loom support is enabled.
Implemented the possibility of calling direct context encoding functions from the context of another monad.
Few bug-fixes.

0.9.18

21 Aug 11:29
Compare
Choose a tag to compare

The main sightings in this release are:

  • deprecation of automatic coloring (in favor of the newly introduced direct context encoding)
  • preview compiler plugin for supporting direct context encoding (marked as an @experimental feature for now).

0.9.17

11 Jun 11:14
Compare
Choose a tag to compare

Support of boundary/break for scala-3.3.0
Rework of context interfaces, to align with upcoming context encoding