Yet another D editor
Sergey Gromov
snake.scaly at gmail.com
Fri Sep 19 20:23:58 PDT 2008
I wrote a D lexer for Scintilla. It highlights D better than any editor
I've tried yet. It's even better than DCode/Entice, though the
advantage is somewhat minor. What it does:
* Recognizes all kinds of D numbers, including hex floats.
* Can recognize errors in many numeric literals.
* Supports all types of D2 strings, including hex strings, delimited
strings with nesting delimiters, and heredoc strings.
* Recognizes escape sequences in strings, character literals and as
stand-alone escape strings.
* Recognizes errors in strings like unsupported or incomplete escape
sequences, invalid chars in hex strings, bad chars in heredoc string
delimiters, or trailing chars after the end of a delimited string.
* Supports EOL, stream and nesting comments.
* Recognizes DDOC comments.
* Recognizes DDOC section names and macros.
* Recognizes macros lacking a closing bracket.
* Supports code folding.
Probably that's it. The question is, what do I do with the code? It's
probably too small a project to open a page on DSource. It doesn't use
any 3rd-party libraries nor a D front-end. Anybody needs it or wants it
published?
More information about the Digitalmars-d
mailing list