Recent library(misc/markup) improvement (Was: Current Work Around: ASCII <-> Browser Cycle)

Liste des GroupesRevenir à cl prolog 
Sujet : Recent library(misc/markup) improvement (Was: Current Work Around: ASCII <-> Browser Cycle)
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.prolog
Date : 24. Nov 2024, 01:30:25
Autres entêtes
Message-ID : <vhts30$j9p1$1@solani.org>
References : 1 2 3 4 5
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19
Hi,
The recent version of library(misc/markup) allows
also to preview in ASCII what you would dynamically
insert into the Web Browser DOM.
But maybe I should more blog about these things.
But I am currently stuck with other problems. So
didn't have time to explain these debugging
methods in detail. But since relase 1.2.3 the
test case report generator also uses library(misc/markup).
So its already hardened more or less.
But these improvements of in library(misc/markup)
are there to support the ASCII <-> Browser Cycle.
For example you can inspect a prover HTML output in
ASCII via node.js and then go to the web, you even
don't need to change a single line of code.
Bye
Mild Shock schrieb:
Hi,
 The current work around is to first develop
the application with an ascii interface,
and debug it with lets say SWI-Prolog like here:
 Prolog code for the tic-tac-toe game. [ASCII Console Version]
https://www.dogelog.ch/littab/doclet/docs/15_sources/basic/example01/console.html   If you have done this cross development you
can bring it to the web, like here:
 Prolog code for the tic-tac-toe game. [Browser Version]
https://www.dogelog.ch/littab/doclet/docs/15_sources/basic/example03/board.html   You have still all the options to debug it web-ish,
like opening the chrome development tools, watch
all the things there, you can also use break points
 there and stop event handlers and foreign functions
that access the web browser. So basically debugging
of the web GUI part happens mainly via:
 Chrome DevTools is a set of web developer tools built
directly into the Google Chrome browser. DevTools lets
you edit pages on-the-fly and diagnose problems quickly,
which helps you build better websites, faster.
https://developer.chrome.com/docs/devtools
 Mild Shock schrieb:
Hi,
>
Do you mean the idea to create a debugger
for Dogelog Player? You want to fork it and
then add the following:
>
 > BTW, any plans to implement a library like SWI's prolog_trace?
 > <https://www.swi-prolog.org/pldoc/man?section=prologtrace>
 > I am finding that quite useful for debugging.
>
I don't know whether it is allowed. The
typical scenario is rather to write a Tic Tac Toe,
and put it on the web. That is allowed by my
>
license. You could also ask for money from
end-users when they are using the Tic Tac Toe. About
the debugger I am not sure, my license has a clause:
>
 > Provided the programs add significant and
 > primary functionality. Not to be distributed
 > with additional software intended to
 > replace components.
>
So Tic Tac Toe as a primary functionality is
of course fine. About a debugger I don't know.
You might get a written permission from me.
>
A debugger is not included because how for
example should a web client application have
a debugger? Its not that SWI-Prologs prologtrace
>
trace automatically gives a Debug Adapter Protocol
(DAP) that would integrate into Chrome? So for Web 2.0/3.0
one has to anyway rethink debugging. I did this
>
rethinking already for formerly Jekejeke Prolog, and
might bring up some of the ideas again. But a Debug
Adapter Protocol (DAP) could be also prototyped with
>
SWI-Prolog. Like can you have SWI Prolog server and
start debugging. The stance there is even not think
about creating a DAP, but instead to go through
>
the normal terminal and the normal top-level
debugging commands, since SWI-Prolog includes
an SSH server. See here:
>
Using SSH to debug services and embedded Prolog
https://www.swi-prolog.org/blog/sshd.md
>
But for Web 2.0/3.0 I don't whether this works as well.
>
Bye
>
Julio Di Egidio schrieb:
On 24/11/2024 00:30, Mild Shock wrote:
>
If you want something with a GNU license,
there is GNU Prolog:
>
I gave my rationale and asked for yours or any plans.
>
Anyway, thanks, I'll take that as your answer.
>
-Julio
>
>
 

Date Sujet#  Auteur
23 Nov 24 * Should I use Dogelog?26Julio Di Egidio
24 Nov 24 `* There is GNU Prolog (Was: Should I use Dogelog [Player]?)25Mild Shock
24 Nov 24  +* Affero General Public License (AGPL) (Was: There is GNU Prolog)19Mild Shock
24 Nov 24  i`* Re: Affero General Public License (AGPL) (Was: There is GNU Prolog)18Julio Di Egidio
24 Nov 24  i +* Dogelog no Module System / for Prolog Applets (Was: Affero General Public License (AGPL))5Mild Shock
24 Nov 24  i i`* Java Applets were killed in 2017 (Was: Dogelog no Module System / for Prolog Applets)4Mild Shock
24 Nov 24  i i `* The biggest morons on this planet are SO mods (Was: Java Applets were killed in 2017)3Mild Shock
24 Nov 24  i i  `* incompetence and stupidity among SO mods (Was: Fuck Around and Find Out (FAFO))2Mild Shock
24 Nov 24  i i   `- Re: incompetence and stupidity among SO mods (Was: Fuck Around and Find Out (FAFO))1Mild Shock
24 Nov 24  i `* Is it that worse with GNU Prolog? (Was: Affero General Public License (AGPL))12Mild Shock
24 Nov 24  i  +- Whats the formula of ZIG (Was: Is it that worse with GNU Prolog?)1Mild Shock
24 Nov 24  i  `* Re: Is it that worse with GNU Prolog? (Was: Affero General Public License (AGPL))10Julio Di Egidio
24 Nov 24  i   +- Re: Is it that worse with GNU Prolog? (Was: Affero General Public License (AGPL))1Julio Di Egidio
24 Nov 24  i   `* Guide on how to protect your investments (Was: Is it that worse with GNU Prolog?)8Mild Shock
24 Nov 24  i    +* Focus on Prolog language is better than focus on Prolog engine (Was: Guide on how to protect your investments)2Mild Shock
24 Nov 24  i    i`- Example that violates KISS (Was: Focus on Prolog language is better than focus on Prolog engine)1Mild Shock
24 Nov 24  i    `* Re: Guide on how to protect your investments (Was: Is it that worse with GNU Prolog?)5Julio Di Egidio
24 Nov 24  i     `* Aliens that landed in an UFO maybe? (Was: Is it that worse with GNU Prolog?)4Mild Shock
24 Nov 24  i      `* Betting Offices Scheme = Mafia Money Laundering? (Re: Aliens that landed in an UFO maybe? (Was: Is it that worse with GNU Prolog?)3Mild Shock
24 Nov 24  i       `* Erlang got big with Gaming2Mild Shock
24 Nov 24  i        `- New Wild West is knocking on the door? (Was: Erlang got big with Gaming)1Mild Shock
24 Nov 24  `* Re: There is GNU Prolog (Was: Should I use Dogelog [Player]?)5Julio Di Egidio
24 Nov 24   `* Creating a [Web] Debugger? (Was: There is GNU Prolog)4Mild Shock
24 Nov 24    `* Current Work Around: ASCII <-> Browser Cycle (Was: Creating a [Web] Debugger?)3Mild Shock
24 Nov 24     `* Recent library(misc/markup) improvement (Was: Current Work Around: ASCII <-> Browser Cycle)2Mild Shock
24 Nov 24      `- Could be friendlier than WASM? (Was: Recent library(misc/markup) improvement)1Mild Shock

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal