orbitalquark / scintillua

Scintillua enables Scintilla lexers to be written in Lua, particularly using LPeg. It can also be used as a standalone Lua library for syntax highlighting support.
https://orbitalquark.github.io/scintillua
MIT License
51 stars 20 forks source link

Add modern rewrite of strace lexer from vis. #73

Closed mcepl closed 2 years ago

mcepl commented 2 years ago

Mistakenly considered included as a part of port of #13 in #68, but it has never been.

Again, I have a problem with what to write into lpeg.properties. In vis we have

        strace = {
                detect = function(_, data)
                        return data:match("^execve%(")
                end
        },

but that’s probably something scintilua cannot do, right?

orbitalquark commented 2 years ago

As mentioned in #13 and #68, I opted not to include this lexer. In general, Scintillua has lexers for programming languages, markup languages, and input and configuration files. Output files are not included.