| Deutsch English Français Italiano |
|
<vf1btd$n7he$2@solani.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mild Shock <janburse@fastmail.fm> Newsgroups: comp.lang.python Subject: Frozen Dicts in Dogelog Player Date: Sun, 20 Oct 2024 00:30:05 +0200 Message-ID: <vf1btd$n7he$2@solani.org> References: <vdm67j$13234$2@solani.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 19 Oct 2024 22:30:05 -0000 (UTC) Injection-Info: solani.org; logging-data="761390"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19 Cancel-Lock: sha1:RfchUq5tz9Aq9xhfoF8m/lHTSCs= In-Reply-To: <vdm67j$13234$2@solani.org> X-User-ID: eJwFwQkBwCAMA0BL/RJAzqCNfwm7Q9L5VhEsCPr8Pu4JS0Oc5HSV5MFB381xq4OnGyYVCrTG9LeU0bP2+wFKZxWU Bytes: 2793 Lines: 54 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/1847732717737177353 Frozen Dicts in Dogelog Player https://www.facebook.com/groups/dogelog Mild 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/