• ANN: Dogelog Player 1.0.3 (Signal Handling)

    From Mostowski Collapse@21:1/5 to All on Wed Jan 18 00:51:35 2023
    We are happy to announce a new edition
    of the Dogelog player:

    - Signal Handling:
    The Dogelog player now provides a post() routine
    in the target language, which allows a rudimentary
    posting of an exception to the Prolog interpreter.
    This is already used in browser examples
    for a button to abort Prolog execution.

    - library(compat):
    We added some bitwise operation which are outside
    the ISO core standard, such as the evaluable
    functions msb/1, lsb/1, etc.. Unfortunately not
    all target languages have good support, so that
    the implementations are a little bit a cludge.

    - library(format):
    Thats a new library with native support by
    atom_number/4 for the various target languages.
    The format/[2,3] itself is a pure Prolog implementation
    still very minimal, without tab-stops, which
    we will possibly anyway not need when later
    generating HTML DOM.

    Have Fun!
    Jan Burse, 17.01.2023
    http://www.xlog.ch/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to Mostowski Collapse on Fri Jan 20 06:40:35 2023
    Dogelog player is a Prolog system written 100%
    in Prolog targetting the JavaScript and the Python
    platform. We have adopted the core benchmark suite
    from formerly Jekejeke Prolog and usually run it for
    both nodeJS and PyPy.

    The benchmark suite gives some proof that the new
    PyPy v7.3.10 offers a significant speed-up of ca. 25%
    over its previous versions. We report month-to-month
    benchmark results and some thoughts on the future
    of the Dogelog player.

    The new PyPy v7.3.10 is a motivation to keep the Python
    target platform for the Dogelog player. It seems that
    PyPy has once narrowed the gap to nodeJS. On the
    other hand the Dogelog player gets reminded to
    investigate new ideas such as an auto tuning garbage

    collector and hopefully a speed-up changelog as well.

    Dogelog Player: New PyPy offers significant Speed-Up https://twitter.com/dogelogch/status/1616443102574809088

    Dogelog Player: New PyPy offers significant Speed-Up https://www.facebook.com/groups/dogelog

    Mostowski Collapse schrieb am Mittwoch, 18. Januar 2023 um 00:51:55 UTC+1:
    We are happy to announce a new edition
    of the Dogelog player:

    - Signal Handling:
    The Dogelog player now provides a post() routine
    in the target language, which allows a rudimentary
    posting of an exception to the Prolog interpreter.
    This is already used in browser examples
    for a button to abort Prolog execution.

    - library(compat):
    We added some bitwise operation which are outside
    the ISO core standard, such as the evaluable
    functions msb/1, lsb/1, etc.. Unfortunately not
    all target languages have good support, so that
    the implementations are a little bit a cludge.

    - library(format):
    Thats a new library with native support by
    atom_number/4 for the various target languages.
    The format/[2,3] itself is a pure Prolog implementation
    still very minimal, without tab-stops, which
    we will possibly anyway not need when later
    generating HTML DOM.

    Have Fun!
    Jan Burse, 17.01.2023
    http://www.xlog.ch/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to Mostowski Collapse on Sun Feb 5 11:41:37 2023
    The Dogelog Player is a Prolog system that is 100%
    implemented in Prolog itself. Although browsers provide
    a document.write() JavaScript call, we created a
    library(markup) that allows a more concurrent and
    chirurgical output into an existing document.

    The new library(markup) provides two enhancements,
    escaped current output and new predicates. The new
    predicate tag/2 that combines tag/1 with format_atom/3
    offers quite some synergy. The new table generator and the
    new chart generator provide encouraging examples.

    See also:

    Dogelog Player: Non-Blocking Generation of Tables and Charts https://twitter.com/dogelogch/status/1622316063869358086

    Dogelog Player: Non-Blocking Generation of Tables and Charts https://www.facebook.com/groups/dogelog

    Mostowski Collapse schrieb am Freitag, 20. Januar 2023 um 15:40:47 UTC+1:
    Dogelog player is a Prolog system written 100%
    in Prolog targetting the JavaScript and the Python
    platform. We have adopted the core benchmark suite
    from formerly Jekejeke Prolog and usually run it for
    both nodeJS and PyPy.

    The benchmark suite gives some proof that the new
    PyPy v7.3.10 offers a significant speed-up of ca. 25%
    over its previous versions. We report month-to-month
    benchmark results and some thoughts on the future
    of the Dogelog player.

    The new PyPy v7.3.10 is a motivation to keep the Python
    target platform for the Dogelog player. It seems that
    PyPy has once narrowed the gap to nodeJS. On the
    other hand the Dogelog player gets reminded to
    investigate new ideas such as an auto tuning garbage

    collector and hopefully a speed-up changelog as well.

    Dogelog Player: New PyPy offers significant Speed-Up https://twitter.com/dogelogch/status/1616443102574809088

    Dogelog Player: New PyPy offers significant Speed-Up https://www.facebook.com/groups/dogelog
    Mostowski Collapse schrieb am Mittwoch, 18. Januar 2023 um 00:51:55 UTC+1:
    We are happy to announce a new edition
    of the Dogelog player:

    - Signal Handling:
    The Dogelog player now provides a post() routine
    in the target language, which allows a rudimentary
    posting of an exception to the Prolog interpreter.
    This is already used in browser examples
    for a button to abort Prolog execution.

    - library(compat):
    We added some bitwise operation which are outside
    the ISO core standard, such as the evaluable
    functions msb/1, lsb/1, etc.. Unfortunately not
    all target languages have good support, so that
    the implementations are a little bit a cludge.

    - library(format):
    Thats a new library with native support by
    atom_number/4 for the various target languages.
    The format/[2,3] itself is a pure Prolog implementation
    still very minimal, without tab-stops, which
    we will possibly anyway not need when later
    generating HTML DOM.

    Have Fun!
    Jan Burse, 17.01.2023
    http://www.xlog.ch/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to Mostowski Collapse on Sun Feb 12 09:54:07 2023
    We already reported about our new library(markup)
    that allows non-blocking generation of tables and charts.
    We will report here how two small additions allow the
    smooth generation of animations.

    To perform some animation our plan is to clear a SVG port,
    then populate it, then sleep some time and then repeat the
    process. Unfortunately auto-yielding might show an incomplete
    scene causing flickering despite the double buffering. There is
    a new predicate shield/1 to the rescue.

    Dogelog Player: Smooth Prolog Driven Animations https://twitter.com/dogelogch/status/1624825560202375168

    Dogelog Player: Smooth Prolog Driven Animations https://www.facebook.com/groups/dogelog

    Mostowski Collapse schrieb am Sonntag, 5. Februar 2023 um 20:41:48 UTC+1:
    The Dogelog Player is a Prolog system that is 100%
    implemented in Prolog itself. Although browsers provide
    a document.write() JavaScript call, we created a
    library(markup) that allows a more concurrent and
    chirurgical output into an existing document.

    The new library(markup) provides two enhancements,
    escaped current output and new predicates. The new
    predicate tag/2 that combines tag/1 with format_atom/3
    offers quite some synergy. The new table generator and the
    new chart generator provide encouraging examples.

    See also:

    Dogelog Player: Non-Blocking Generation of Tables and Charts https://twitter.com/dogelogch/status/1622316063869358086

    Dogelog Player: Non-Blocking Generation of Tables and Charts https://www.facebook.com/groups/dogelog
    Mostowski Collapse schrieb am Freitag, 20. Januar 2023 um 15:40:47 UTC+1:
    Dogelog player is a Prolog system written 100%
    in Prolog targetting the JavaScript and the Python
    platform. We have adopted the core benchmark suite
    from formerly Jekejeke Prolog and usually run it for
    both nodeJS and PyPy.

    The benchmark suite gives some proof that the new
    PyPy v7.3.10 offers a significant speed-up of ca. 25%
    over its previous versions. We report month-to-month
    benchmark results and some thoughts on the future
    of the Dogelog player.

    The new PyPy v7.3.10 is a motivation to keep the Python
    target platform for the Dogelog player. It seems that
    PyPy has once narrowed the gap to nodeJS. On the
    other hand the Dogelog player gets reminded to
    investigate new ideas such as an auto tuning garbage

    collector and hopefully a speed-up changelog as well.

    Dogelog Player: New PyPy offers significant Speed-Up https://twitter.com/dogelogch/status/1616443102574809088

    Dogelog Player: New PyPy offers significant Speed-Up https://www.facebook.com/groups/dogelog
    Mostowski Collapse schrieb am Mittwoch, 18. Januar 2023 um 00:51:55 UTC+1:
    We are happy to announce a new edition
    of the Dogelog player:

    - Signal Handling:
    The Dogelog player now provides a post() routine
    in the target language, which allows a rudimentary
    posting of an exception to the Prolog interpreter.
    This is already used in browser examples
    for a button to abort Prolog execution.

    - library(compat):
    We added some bitwise operation which are outside
    the ISO core standard, such as the evaluable
    functions msb/1, lsb/1, etc.. Unfortunately not
    all target languages have good support, so that
    the implementations are a little bit a cludge.

    - library(format):
    Thats a new library with native support by
    atom_number/4 for the various target languages.
    The format/[2,3] itself is a pure Prolog implementation
    still very minimal, without tab-stops, which
    we will possibly anyway not need when later
    generating HTML DOM.

    Have Fun!
    Jan Burse, 17.01.2023
    http://www.xlog.ch/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mostowski Collapse@21:1/5 to All on Thu Feb 23 13:53:43 2023
    The Dogelog Player is a Prolog system for the JavaScript
    and the Python platform. On both platforms the Prolog
    system is basically single-threaded but is executed as an
    asynchronous procedure that automatically yields. We
    recently added Ctrl-C and exception chaining.

    We discovered the Logtalk idiom which provides a solution
    in ISO core standard only to the cleanup problem of a
    deterministic goal. We gave the idiom the new predicate name setup_once_cleanup/3 and equipped it with exception
    chaining, written in Prolog itself.

    See also:

    Dogelog Player: New Exception Chaining Feature https://twitter.com/dogelogch/status/1628873166519926785

    Dogelog Player: New Exception Chaining Feature https://www.facebook.com/groups/dogelog

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)