Welcome, Guest. Please login or register.

Author Topic: How to build syntax highlighting for GoldED?  (Read 7094 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline asrael22Topic starter

  • Jr. Member
  • **
  • Join Date: Mar 2017
  • Posts: 70
    • Show all replies
How to build syntax highlighting for GoldED?
« on: October 22, 2017, 11:20:49 AM »
Hi.

It seems there is not much documentation available for this topic.
I'm wondering how to build custom syntax highlighting for GoldED/Cubic IDE?
I've looked over some of the plugins like C/C++, Basic, Rexx, etc. but I can't make much sense of it.
There seem to exist multiple ways to create a syntax highlighting.
One seems to be a compiled binary which acts as the syntax parser.
A second one seems to use a generic parser and must be fed with keywords.
But it's incredibly intransparent to sort out how this all works.

Any advice?


Manfred
 

Offline asrael22Topic starter

  • Jr. Member
  • **
  • Join Date: Mar 2017
  • Posts: 70
    • Show all replies
Re: How to build syntax highlighting for GoldED?
« Reply #1 on: October 26, 2018, 10:38:35 PM »
It's possible to create custom syntax highlighting configurations using the generic parser (part of the Cubic package) and adding some dictionary files for keywords and such.

I've managed to create syntax highlighting for Pascal.


Manfred
 

Offline asrael22Topic starter

  • Jr. Member
  • **
  • Join Date: Mar 2017
  • Posts: 70
    • Show all replies
Re: How to build syntax highlighting for GoldED?
« Reply #2 on: February 19, 2019, 07:02:08 PM »
Not really.
You can look at the CubicIDE-Pascal-Plugin-0.1.0, which I have uploaded to Aminet.
It used the generic parser with dictionaries.


Manfred