[Github-comments] [geany/geany] Add Prolog filetype support (PR #3171)

elextr notifications at github.com
Wed Apr 27 02:58:15 UTC 2022


I agree that mixed language lexers/parsers tend to be problematic, and I can understand Neils decision not to work on javascript when it became too complex (shudder, and I guess nobody else has stepped up either).  

But this is just a difference between compilers, not languages.  There is prior art in having differences in the lexer to accommodate differences in tools, for example LexASM.cpp allows comment characters to be varied to match the differing assemblers `as` which uses `#` and `asm` which uses `;`.  Its certainly more likely to happen faster and be accepted sooner than a whole new lexer for the language, but whichever path is used, "somebodys" got to do it, we won't "find" a Scintilla lexer under the doormat.

In the meantime it can be left as is, or the `@` strings mapped to default style, or something else, which is preferable?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3171#issuecomment-1110478937
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3171/c1110478937 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220426/821d6473/attachment.htm>


More information about the Github-comments mailing list