[Info-vax] highlight.js & DCL
Arne Vajhøj
arne at vajhoej.dk
Wed Jan 19 21:25:42 EST 2022
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
More information about the Info-vax
mailing list