Beyond Orgmode in Dogelog Player (Re: Game Sprites in Dogelog Notebooks)
Mild Shock <[email protected]> Sat, 14 Jun 2025 22:25:19 +0200
| Newsgroups | comp.lang.python |
|---|---|
| Message-ID | <[email protected]> |
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