Yet another D editor
BLS
nanali at nospam-wanadoo.fr
Sat Sep 20 02:48:21 PDT 2008
Sergey Gromov schrieb:
> 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?
Hi Sergey,
WOW, that is already something.
IMO The D Lexer should become part of the official Scintilla distribution.
A DSource project makes sense. F.I. It would be nice to have your
sourses in order to build a DLL. I am very interested to get your
sources ASAP. :)
Thanks, Bjoern
More information about the Digitalmars-d
mailing list