Sujet : Frozen Dicts in Dogelog Player
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.pythonDate : 20. Oct 2024, 00:30:05
Autres entêtes
Message-ID : <vf1btd$n7he$2@solani.org>
References : 1
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19
Frozen Dicts in Dogelog Player
Dogelog Player is a Prolog system that
currently runs on different backends such
as JavaScript, Python and Java. We present a
new Prolog dict library library(misc/dict).
The library is a spin off of our JSON
data library library(misc/json).
Both are pure Prolog implementations that we
could also test on Trealla Prolog and Scryer
Prolog. There is no new dict syntax, since
unlike SWI-Prolog we do not include a tag. Our
operations preserve input order and we have an
explicit operation to keysort a dict. Testing
indicates that a compression could boost
modification and sorting.
See also:
Frozen Dicts in Dogelog Player
https://twitter.com/dogelogch/status/1847732717737177353Frozen Dicts in Dogelog Player
https://www.facebook.com/groups/dogelogMild Shock schrieb:
Dear All,
We are happy to announce a new edition of the Dogelog player:
- New atom_time/4:
The predicate sys_time_atom/3 is now officially
called atom_time/3. The underlying strftime() and
strptime() routines can represent more than just
local time. We therefore introduced atom_time/4
with an options list.
- Improved open/4:
The open/4 predicate and its HTTP client functionality
was removed from library(util/spin) and moved to
the core. In addition, open/4 can now return options
such as the final URL via uri/1 and the received
headers via fields/1.
- New http_server_close/1:
The HTTP server in library(util/spin) has undergone
some extensions. The asynchronous processing has been
improved, so that HTTP server set-up, HTTP client round
trip and HTTP server tear-down can be implemented in
the same application despite being single threaded.
Have Fun!
Jan Burse, 03.10.2024, https://www.xlog.ch/