Path: csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mild Shock Newsgroups: comp.lang.javascript Subject: Re: ANN: Dogelog Player 1.2.6 (Segmented Fileaccess) Date: Tue, 11 Feb 2025 12:15:42 +0100 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 11 Feb 2025 11:15:40 -0000 (UTC) Injection-Info: solani.org; logging-data="104344"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.20 Cancel-Lock: sha1:txYEnBgWMmQZhWdaggt7vC/grIQ= X-User-ID: eJwFwYEBACAEBMCVJF7GSc/+I3TnGwsvDA7z8Yl+LN4w8duSadQ8xUmZLlx1icNcTd3cE6W5WIITb9ih+HTOFjU= In-Reply-To: Xref: csiph.com comp.lang.javascript:124386 Dogelog Player is a Prolog system for JavaScript, Python and Java. It is 100% written in Prolog itself. We present an enhancement to DCG translation. It uses unification spilling to reduce the number of needed unify (=)/2 calls and intermediate variables. Unification spilling can be readily implemented by performing unification (=)/2 during DCG translation. Careful spilling without breaking steadfastness gave us a 10% — 25% speed increase not only for the calculator example but also for the Albufeira transpiler. See also: DCG Translation with Unification Spilling https://x.com/dogelogch/status/1889270444647182542 DCG Translation with Unification Spilling https://www.facebook.com/groups/dogelog