Release 1.1.6
The following features and bug fixes were provided for the
Dogelog player of version 1.1.6:
Language Reference
- The predicates get_code/2 and peek_code/2 are now realized via
promise.
- Streams do not anymore compress CR, LF and CRLF into a single
LF.
- The Prolog tokenizer now supports CR in its input stream.
- The various colorizers now support CR in their input stream.
- New predicate get_compress/2 that does single LF compression.
- The predicate get_atom/3 is now bootstrapped from
get_compress/2.
- The predicates open/3 and open/4 are now non-blocking
(JavaScript only).
- The top-level session console input is now realized via
promise.
- The predicate open/3 in read mode is now realized via promise.
- The predicate file_property/2 is now realized via promise.
- The predicate close/1 for an input stream is now realized via
promise.
Frequent Reference
- New library(spin) with HTTP client and HTTP server introduced.
- Predicate open/4 moved to new library(spin).
- The predicate open/4 in read mode is now realized via promise.
- The predicate http_input_new/2 is now realized via promise.
Host Interface
- The instruction ‘$YIELD’/1 now takes a promise.
- New register_signal() can be used by promises to indicate
errors.
- Java target now supports promises via bouncer semaphore.
- Python target now supports promises via asyncio.to_thread.
Kommentare