Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #124396

Call Later in Dogelog Notebooks (Re: Game Sprites in Dogelog Notebooks)

From Mild Shock <janburse@fastmail.fm>
Newsgroups comp.lang.javascript
Subject Call Later in Dogelog Notebooks (Re: Game Sprites in Dogelog Notebooks)
Date 2025-06-10 16:29 +0200
Message-ID <1029ffa$k9pf$3@solani.org> (permalink)
References <vvjljp$dl1g$3@solani.org> <101599v$1h0k$3@solani.org> <101i8dd$8vln$3@solani.org>

Show all headers | View raw


Dogelog Player is a Prolog system mostly written
in Prolog itself. It is available for the JavaScript,
Python and Java platform. In the browser environment
it offers Notebooks that run without server roundtrip.

Compared to for example SWISH or Tinker from SWI-Prolog,
the syntax coloring is in its early stage. Notebook
cells were only colored during instrumentation. Things
have a little improved with delayed re-coloring now.

To implement recoloring of a Notebook cell, we found
it useful to resort to the debouncing event handling
pattern. It can be easily realized by storing a timer
in a DOM element (sic!). Although recoloring requires

coloring potentially invalid and incomplete tokens,
since we use a full cell recoloring, not much goes wrong.

See also:

Call Later in Dogelog Notebooks
https://qiita.com/j4n_bur53/items/d17ba8adce15397a029b

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
> 

Back to comp.lang.javascript | Previous | NextPrevious in thread | Find similar


Thread

ANN: Dogelog Player 1.3.2 (XML Interpolation) Mild Shock <janburse@fastmail.fm> - 2025-05-09 11:26 +1000
  Self-Tuning GC in Dogelog Player (Re: ANN: Dogelog Player 1.3.2 (XML Interpolation)) Mild Shock <janburse@fastmail.fm> - 2025-05-27 23:02 +0200
    Game Sprites in Dogelog Notebooks (Re: ANN: Dogelog Player 1.3.2 (XML Interpolation)) Mild Shock <janburse@fastmail.fm> - 2025-06-01 21:07 +0200
      Call Later in Dogelog Notebooks (Re: Game Sprites in Dogelog Notebooks) Mild Shock <janburse@fastmail.fm> - 2025-06-10 16:29 +0200

csiph-web