CLox version 1.9.0, it introduces the following new features on the last version 1.8.0:
- Generator functions/methods which can yield control back to the caller and resume at a later point of execution.
- Add class
Promise
to the standard library(clox.std.util
), which uses libuv to handle async tasks that completes in future. - Introduction of
async
andawait
keywords, which allows C#/JS style of concurrency. - Refactoring package
clox.std.io
andclox.std.net
to use async non-blocking calls.