Domain changed to archive.palanq.win . Feb 14-25 still awaits import.
[3 / 1 / 1]

Custom highlighter/editor for personal programming language

No.1507396 View ViewReplyOriginalReport
I'm working on a small Python-like programming language with some syntax quirks. What's the best way to edit its scripts with highlighting?
Some language specifics:
>function calls do not need parentheses, neither do function declarations
>slicing operator is an apostrophe
>array data type that is displayed as int.[1, 2, 3]
>format function replaces \i with provided items, similarly to %v in other languages
>some statements utilize arrows such as <-
I made a very similar language previously, so if you want more examples of it, the docs are at https://www.litechan.org/litehub/eppgo2
By the way, I could make a custom editor using Go/Fyne, but I can't find a decent tutorial on the Terminal widget in fyne. The eppgo2 repository has an editor written in Python/tkinter, but for whatever reason this editor looks horrible under Plasma 6, linux users deserve better.