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


Groups > comp.lang.prolog > #14540

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

From Mild Shock <janburse@fastmail.fm>
Newsgroups comp.lang.prolog
Subject Tau-Prolog Code Mirror Integration has Flaws (Was: Space Junk might fall on your head)
Date 2025-06-05 09:54 +0200
Message-ID <101rig4$dcch$1@solani.org> (permalink)
References <vsj1an$m6gi$1@solani.org> <vsj1k3$m6op$1@solani.org> <vsj227$m717$1@solani.org> <vsrm16$qfne$1@solani.org>

Show all headers | View raw


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

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


Thread

Streamable DOM and obsolete put_code/[1,2] Mild Shock <janburse@fastmail.fm> - 2025-04-02 11:51 +0200
  Re: Streamable DOM and obsolete put_code/[1,2] Mild Shock <janburse@fastmail.fm> - 2025-04-02 11:56 +0200
    Re: Streamable DOM and obsolete put_code/[1,2] Mild Shock <janburse@fastmail.fm> - 2025-04-02 12:03 +0200
      Space Junk might fall on your head [Scryer Prolog WASM] (Was: Streamable DOM and obsolete put_code/[1,2]) Mild Shock <janburse@fastmail.fm> - 2025-04-05 18:33 +0200
        Editor’s Draf, 10 January 2025 - Trusted Types (Was: Space Junk might fall on your head [Scryer Prolog WASM]) Mild Shock <janburse@fastmail.fm> - 2025-04-05 19:00 +0200
        *** 2025 Prolog Awards *** (Was: Space Junk might fall on your head [Scryer Prolog WASM]) Mild Shock <janburse@fastmail.fm> - 2025-05-25 13:48 +0200
          Scryer Prolog has dethroned SWI-Prolog (Was: *** 2025 Prolog Awards ***) Mild Shock <janburse@fastmail.fm> - 2025-05-26 12:22 +0200
            Nevertheless I have bad news for Prolog (Was: Scryer Prolog has dethroned SWI-Prolog) Mild Shock <janburse@fastmail.fm> - 2025-05-26 12:31 +0200
            Cannot consult/1 after listing/1 (Was: Scryer Prolog has dethroned SWI-Prolog) Mild Shock <janburse@fastmail.fm> - 2025-05-28 12:09 +0200
        Tau-Prolog Code Mirror Integration has Flaws (Was: Space Junk might fall on your head) Mild Shock <janburse@fastmail.fm> - 2025-06-05 09:54 +0200
  Code Generation with write/[1,2] [Some Testcases] (Was: Streamable DOM and obsolete put_code/[1,2]) Mild Shock <janburse@fastmail.fm> - 2025-04-07 09:58 +0200

csiph-web