![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
https://github.com/patters-syno/zx-basic-syntax
![Image](https://github.com/patters-syno/zx-basic-syntax/raw/main/images/example.jpg?raw=true)
GitHub description wrote:ZX BASIC is an updated BASIC dialect which compiles to optimised Z80 machine code for the ZX Spectrum computer. The Sublime Text editor, like the ZX BASIC compiler, runs on Linux, Mac OS, and Windows.
This syntax highlighter does not exhaustively match all BASIC keywords, rather its focus is code clarity. Mariana colour scheme (pictured) is recommended over the default Monokai, since some highlights are invisible in Monokai.
Highlighting Scope:
- Comment lines, comment blocks, inline assembly comments
- Strings including all escaped characters
- To avoid over-colouring, keywords are limited to conditionals and those controlling execution flow
- Sub and Function definitions and calls, although their calls are indistinguishable from array references (and strings without sigils) since the parser does not track objects
- Variable types, numbers, separators, operator symbols, and compiler keywords
many thanks for your help - This works like a treat. Brilliant work. CGC2021 won't know what hit it lol
the characters CHANGE here inside the forum display, maybe its my linux1500 LET q$="=>?@K\00\00\00\00\00\00\00\00\00K\00\00\00\00\00\00\00\00\00K\00\00\00\00\00\00\00\00\00K\00\00\00\00\00\00\00\00\00K\00\00\00\00\00\00 \C0@K\00\00\00\00\00\00\00\00\00K\00\00\00\00\00\00\00\00\00K\00 \00\00\00\00\00\00\00K\00\00\00\00\00\00\00\00\00K\00\00`auQa=": GO SUB aa: PRINT #n;AT n,VAL "8";q$: GO SUB ui: PRINT #n;AT e,VAL "5";"Radio RefleXed Crystal": GO SUB aa