Tau-Prolog Code Mirror Integration has Flaws (Was: Space Junk might fall on your head)

Liste des GroupesRevenir à cl prolog 
Sujet : Tau-Prolog Code Mirror Integration has Flaws (Was: Space Junk might fall on your head)
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.prolog
Date : 05. Jun 2025, 08:54:43
Autres entêtes
Message-ID : <101rig4$dcch$1@solani.org>
References : 1 2 3 4
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.20
Currently hardening my own 100% pure Prolog
written colorizer. Try this nasty testcase:
:- op(700, xfx, +\).
f("ab\"c"+\"").
The result in Tau Prolog is nonsense,
an atom c appears in the colorize:
<span class="cm-atom">f</span><span
class="cm-paren">(</span><span
class="cm-string">"ab\"</span><span
class="cm-atom">c</span><span
class="cm-string">"+\"").</span>
The result in SWI-Tinker is ok,
no atom c appears in the colorize:
<span class="cm-functor">f</span>(<span
class="cm-string">"ab\"c"</span><span
class="cm-operator">+\</span><span
class="cm-string">""</span>)<span
class="cm-fullstop">.</span>
For some screenshots see here:
Backslash double quotes not correctly colorized
https://github.com/tau-prolog/tau-prolog/issues/360

Date Sujet#  Auteur
2 Apr 25 * Streamable DOM and obsolete put_code/[1,2]11Mild Shock
2 Apr 25 +* Re: Streamable DOM and obsolete put_code/[1,2]9Mild Shock
2 Apr 25 i`* Re: Streamable DOM and obsolete put_code/[1,2]8Mild Shock
5 Apr 25 i `* Space Junk might fall on your head [Scryer Prolog WASM] (Was: Streamable DOM and obsolete put_code/[1,2])7Mild Shock
5 Apr 25 i  +- Editor’s Draf, 10 January 2025 - Trusted Types (Was: Space Junk might fall on your head [Scryer Prolog WASM])1Mild Shock
25 May 25 i  +* *** 2025 Prolog Awards *** (Was: Space Junk might fall on your head [Scryer Prolog WASM])4Mild Shock
26 May 25 i  i`* Scryer Prolog has dethroned SWI-Prolog (Was: *** 2025 Prolog Awards ***)3Mild Shock
26 May 25 i  i +- Nevertheless I have bad news for Prolog (Was: Scryer Prolog has dethroned SWI-Prolog)1Mild Shock
28 May 25 i  i `- Cannot consult/1 after listing/1 (Was: Scryer Prolog has dethroned SWI-Prolog)1Mild Shock
5 Jun 25 i  `- Tau-Prolog Code Mirror Integration has Flaws (Was: Space Junk might fall on your head)1Mild Shock
7 Apr 25 `- Code Generation with write/[1,2] [Some Testcases] (Was: Streamable DOM and obsolete put_code/[1,2])1Mild Shock

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal