ScintillaOrg / lexilla

A library of language lexers for use with Scintilla
https://www.scintilla.org/Lexilla.html
Other
163 stars 59 forks source link

[lexer] [feature request] add Zig support #237

Open alberic89 opened 2 months ago

alberic89 commented 2 months ago

Zig is a C/Rust style language: https://ziglang.org He is relatively new but stable at language scope. So, I propose to implement a Zig lexer for using syntax coloration in editors (specially Geany). It is surely possible to use Rust or C lexer as base to write the Zig lexer. I will try to make a little proof-of-concept, but C++ is not my language, so many mistakes are wait.