Deutsch   English   Français   Italiano  
<102klrd$q6j0$3@solani.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!news.swapon.de!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: Beyond Orgmode in Dogelog Player (Re: Game Sprites in Dogelog
 Notebooks)
Date: Sat, 14 Jun 2025 22:25:19 +0200
Message-ID: <102klrd$q6j0$3@solani.org>
References: <vvjlpb$dl1g$4@solani.org> <101596o$1h0k$2@solani.org>
 <101i8c7$8vln$2@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 14 Jun 2025 20:25:17 -0000 (UTC)
Injection-Info: solani.org;
	logging-data="858720"; 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.21
Cancel-Lock: sha1:z+TLZWjqIL5A3zqHiIoWu7x7O+I=
X-User-ID: eJwNwokRACEIBLCW5FuWcsST/kvwJgmD4KQj4DE/63trX++WZcaQmZGgryieplNSViXdsZFUBVuhX2fsynw7ghQv
In-Reply-To: <101i8c7$8vln$2@solani.org>



Dogelog Player features a library(markup), that oh
the irony, despites its name, cannot read and process
markup in any way. Also is distinct from other
Prolog system that where approaching the internet
from a DCG viewpoint. Nevertheless it allows for
amazing pigmentation results across the browser
and the console.

Dogelog Player is in the fortunate possition to
have been realized in 100% Prolog, so we opted to
tap into its own lexer and could quickly realize
a library(fancy) to pigment tokens. Minimally
invasive and with the help of input memory streams,
write_term/2 can now also colorize.

See also:

Beyond Orgmode in Dogelog Player
https://medium.com/2989/2a294db469c8

Mild Shock schrieb:
> 
> Dogelog Player is a Prolog system mostly written in
> Prolog itself. It is available for the JavaScript,
> Python and Java platform. It offers a minimalistic
> subset of the ISO core standard for Prolog, dubbed
> by the name Novacore.
> 
> It further features a minimalistic library to access
> the Browser environment. The content of the library is
> developed with hindsight of its usage in Dogelog
> Notebooks. Here we give a glimps of its usage
> for Game Sprites.
> 
> With a little programming discipline the library(vector)
> makes it possibly to design games for different screen
> resolutions. To ease the Dogelog Notebook orchestration
> of the animation of multiple game sprites via cooperative
> multitasking from create_task/1, we introduced
> group_gather_async() and group_teardown().
> 
> See also:
> 
> Game Sprites in Dogelog Notebooks
> https://qiita.com/j4n_bur53/items/839061b2a8b34a4d422f