Thank you Martin, I better understand now how it is working.
Edson, definetly, you are really impressive.
About the usage of OpenOn, I did not think about the AfterPattern="Symbol", in fact I had impletented it for someting else in my completion list, understood it, but I removed it for testing purpose. Just, I did not have the idea to use Symbol as a pattern.
<OpenOn AfterPattern='"DEF",space' FilterBy="None">
"FN|FN \_ ="
"USR|USR="
</OpenOn>
For the Line numbers,
I even tried to define eachLine as a block with sections, blocks beginning with a number, sections ending with a column (":"), but I was oblied to finish my lines with a column to be coherent with the idea.
Definetly again, many thanks, I take this option.
Once finished I will post my xml here so that you could use it as an example for your SynFacil, it will be the first generic highlighter for fpc/Delphi for vintage BASIC : easy to adapt for many other micro-computers : ZX Spectrum, Amstrad CPC, Atari 2600, MSX, GWBasic, etc...
After that, it will be easier to do, there will be an xml for C and XA (6502 assembler).
To tell you, I develop for Oric 1/Atmos with a cross platform environment (OSDK :
http://www.defence-force.org/ )
The OSDK is dos/windows set of tools using a lot bat files, and our IDE is Note-pad or NotePad++.
There is a necessity there to modernize all of this and make it cross-platform.
Coming from Delphi, lazarus was the good choice to make things working for Linux, MacOS, etc... too
The scripting/plugin part is important and lua is definetly my choice, with xml for configuration files.
In short, the compiler used is RCC16, an Oric targeted version of the LCC Compiler.
This compiler is decently ANSI compliant, and event support C++ comments as well as standard C comments. And the assembler is XA, it supports both the standard 6502 opcodes as well as the CMOS versions (Rockwell 65c02).
Here is my Github with a few of my projects if you wan't to have a look to what can be done with OSDK/Delphi/Lazarus for this Oric Atmos :
https://github.com/DJChloe?tab=repositoriesI noticed that you are involved in 6502 programming too, more over I was surprised to discover that you develop a whole compiler for the Pascal language. How fast or compact produced by your pascal ?
Do you think it can be adapted to Oric's world ?
Thank you very much indeed to both of you. I learned a lot of things in a few days.