Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Those who don't understand Linux are doomed to reinvent it, poorly. -- unidentified source


computers / comp.os.vms / Re: highlight.js & DCL

SubjectAuthor
* highlight.js & DCLArne Vajhøj
+* Re: highlight.js & DCLJeffrey H. Coffield
|`- Re: highlight.js & DCLArne Vajhøj
`* Re: highlight.js & DCLMG
 `* Re: highlight.js & DCLGrant Taylor
  `* Re: highlight.js & DCLCraig A. Berry
   `- Re: highlight.js & DCLArne Vajhøj

1
highlight.js & DCL

<61e761b8$0$703$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20121&group=comp.os.vms#20121

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 18 Jan 2022 19:56:22 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Newsgroups: comp.os.vms
Content-Language: en-US
From: arn...@vajhoej.dk (Arne Vajhøj)
Subject: highlight.js & DCL
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 8
Message-ID: <61e761b8$0$703$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: f8b691c9.news.sunsite.dk
X-Trace: 1642553784 news.sunsite.dk 703 arne@vajhoej.dk/68.9.63.232:57473
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 19 Jan 2022 00:56 UTC

Long shot, but has anyone added DCL support to highlight.js?

https://highlightjs.org/

(it hash all kinds of programming languages, bash, cmd
etc. but no DCL)

Arne

Re: highlight.js & DCL

<ss9hc6$eqc$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20132&group=comp.os.vms#20132

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jeff...@digitalsynergyinc.com (Jeffrey H. Coffield)
Newsgroups: comp.os.vms
Subject: Re: highlight.js & DCL
Date: Wed, 19 Jan 2022 09:22:13 -0800
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <ss9hc6$eqc$1@dont-email.me>
References: <61e761b8$0$703$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 19 Jan 2022 17:22:15 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="802e432ba1826aeba710c188fae4eaea";
logging-data="15180"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ziJirDRBYxWw5gdmz2yCqp+yC16l0pec="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.6.0
Cancel-Lock: sha1:JBtDFipig+BoUE2qAxBWShX1bsI=
In-Reply-To: <61e761b8$0$703$14726298@news.sunsite.dk>
 by: Jeffrey H. Coffield - Wed, 19 Jan 2022 17:22 UTC

On 01/18/2022 04:56 PM, Arne Vajhøj wrote:
> Long shot, but has anyone added DCL support to highlight.js?
>
> https://highlightjs.org/
>
> (it hash all kinds of programming languages, bash, cmd
> etc. but no DCL)
>
> Arne

What do you want to do with it?

I have on my todo list to create a DCL grammar file for Antlr4 as part
of an analysis of all the code on a VMS system. I already have created a
VMS Basic grammar and modified a Cobol85 grammar for OpenVMS.

Jeff

Re: highlight.js & DCL

<61e858f9$0$700$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20136&group=comp.os.vms#20136

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 19 Jan 2022 13:31:17 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Subject: Re: highlight.js & DCL
Content-Language: en-US
Newsgroups: comp.os.vms
References: <61e761b8$0$703$14726298@news.sunsite.dk>
<ss9hc6$eqc$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <ss9hc6$eqc$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 22
Message-ID: <61e858f9$0$700$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 5e1ea536.news.sunsite.dk
X-Trace: 1642617081 news.sunsite.dk 700 arne@vajhoej.dk/68.9.63.232:61262
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 19 Jan 2022 18:31 UTC

On 1/19/2022 12:22 PM, Jeffrey H. Coffield wrote:
> On 01/18/2022 04:56 PM, Arne Vajhøj wrote:
>> Long shot, but has anyone added DCL support to highlight.js?
>>
>> https://highlightjs.org/
>>
>> (it hash all kinds of programming languages, bash, cmd
>> etc. but no DCL)
>
> What do you want to do with it?

It does syntax highlighting of code snippets in web pages.

I use it extensively.

But it does not know DCL syntax.

I guess I could try add it myself, but I am not good at
JavaScript and the JavaScript tool chain.

Arne

Re: highlight.js & DCL

<nnd$3b6bc6fa$500870af@cb7ab0ce98a8fdaa>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20143&group=comp.os.vms#20143

  copy link   Newsgroups: comp.os.vms
Date: Thu, 20 Jan 2022 00:09:49 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Subject: Re: highlight.js & DCL
Content-Language: en-US
Newsgroups: comp.os.vms
References: <61e761b8$0$703$14726298@news.sunsite.dk>
From: em_ge...@SPAMxs4all.nl (MG)
In-Reply-To: <61e761b8$0$703$14726298@news.sunsite.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <nnd$3b6bc6fa$500870af@cb7ab0ce98a8fdaa>
Organization: KPN B.V.
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!abe005.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 14
Injection-Date: Thu, 20 Jan 2022 00:09:49 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1208
 by: MG - Wed, 19 Jan 2022 23:09 UTC

On 19-01-2022 01:56, Arne Vajhøj wrote:
> Long shot, but has anyone added DCL support to highlight.js?
>
> https://highlightjs.org/
>
> (it hash all kinds of programming languages, bash, cmd
> etc. but no DCL)

Apart from making a DCL syntax highlighting definition for
Notepad++, I haven't bothered with other editors and/or
development environments.

- MG

Re: highlight.js & DCL

<ssa79e$u43$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20144&group=comp.os.vms#20144

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtay...@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.os.vms
Subject: Re: highlight.js & DCL
Date: Wed, 19 Jan 2022 16:36:19 -0700
Organization: TNet Consulting
Message-ID: <ssa79e$u43$1@tncsrv09.home.tnetconsulting.net>
References: <61e761b8$0$703$14726298@news.sunsite.dk>
<nnd$3b6bc6fa$500870af@cb7ab0ce98a8fdaa>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 19 Jan 2022 23:36:14 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="30851"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <nnd$3b6bc6fa$500870af@cb7ab0ce98a8fdaa>
Content-Language: en-US
 by: Grant Taylor - Wed, 19 Jan 2022 23:36 UTC

On 1/19/22 4:09 PM, MG wrote:
> Apart from making a DCL syntax highlighting definition for Notepad++,
> I haven't bothered with other editors and/or development environments.

I wonder if there's a way to convert what you've created for Notepad++
to work in something else.

Not that I'm qualified to judge anything. I'm just making wild
suggestions as in toss it at the wall and see what sticks.

--
Grant. . . .
unix || die

Re: highlight.js & DCL

<ssa7nr$p7j$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20145&group=comp.os.vms#20145

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: highlight.js & DCL
Date: Wed, 19 Jan 2022 17:43:53 -0600
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <ssa7nr$p7j$1@dont-email.me>
References: <61e761b8$0$703$14726298@news.sunsite.dk>
<nnd$3b6bc6fa$500870af@cb7ab0ce98a8fdaa>
<ssa79e$u43$1@tncsrv09.home.tnetconsulting.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 19 Jan 2022 23:43:55 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="32c034431ee10ceac6abfe7a124b36a0";
logging-data="25843"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HWutS/e+gKjtIUU/9UHLIIWMLmZcaleg="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.5.0
Cancel-Lock: sha1:uSENIBZr6bW2GJoPAmHeLWQgbxo=
In-Reply-To: <ssa79e$u43$1@tncsrv09.home.tnetconsulting.net>
Content-Language: en-US
 by: Craig A. Berry - Wed, 19 Jan 2022 23:43 UTC

On 1/19/22 5:36 PM, Grant Taylor wrote:
> On 1/19/22 4:09 PM, MG wrote:
>> Apart from making a DCL syntax highlighting definition for Notepad++,
>> I haven't bothered with other editors and/or development environments.
>
> I wonder if there's a way to convert what you've created for Notepad++
> to work in something else.
>
> Not that I'm qualified to judge anything.  I'm just making wild
> suggestions as in toss it at the wall and see what sticks.

It's a good suggestion. There may also be prior art in the old NetBeans
IDE and/or the newish VSI VSCode extension. Maybe even Emacs or jEdit.
No idea what the licensing would be for these various things. But it
wouldn't hurt to look, i.e, checking the license while looking up
whether there is support for DCL.

Re: highlight.js & DCL

<61e8c82e$0$699$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20150&group=comp.os.vms#20150

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 19 Jan 2022 21:25:42 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Subject: Re: highlight.js & DCL
Content-Language: en-US
Newsgroups: comp.os.vms
References: <61e761b8$0$703$14726298@news.sunsite.dk>
<nnd$3b6bc6fa$500870af@cb7ab0ce98a8fdaa>
<ssa79e$u43$1@tncsrv09.home.tnetconsulting.net> <ssa7nr$p7j$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <ssa7nr$p7j$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 34
Message-ID: <61e8c82e$0$699$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: f9310226.news.sunsite.dk
X-Trace: 1642645550 news.sunsite.dk 699 arne@vajhoej.dk/68.9.63.232:61885
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 20 Jan 2022 02:25 UTC

On 1/19/2022 6:43 PM, Craig A. Berry wrote:
> On 1/19/22 5:36 PM, Grant Taylor wrote:
>> On 1/19/22 4:09 PM, MG wrote:
>>> Apart from making a DCL syntax highlighting definition for Notepad++,
>>> I haven't bothered with other editors and/or development environments.
>>
>> I wonder if there's a way to convert what you've created for Notepad++
>> to work in something else.
>>
>> Not that I'm qualified to judge anything.  I'm just making wild
>> suggestions as in toss it at the wall and see what sticks.
>
> It's a good suggestion.  There may also be prior art in the old NetBeans
> IDE and/or the newish VSI VSCode extension.  Maybe even Emacs or jEdit.
>  No idea what the licensing would be for these various things.  But it
> wouldn't hurt to look, i.e, checking the license while looking up
> whether there is support for DCL.

highlight.js is JavaScript.

Example for Pascal:

https://github.com/highlightjs/highlight.js/blob/main/src/languages/delphi.js

NetBeans and jEdit are Java not JavaScript. Emacs is probably Lisp.

VSCode is probably JavaScript - could be worth taking a look at.

But I don't think the code is that difficult - it is more the
context with npm, packaging, relationship with the CSS etc..

Arne

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor