Re: [code] [textadept] D lexer corrections.

From: Mitchell <>
Date: Fri, 1 Feb 2019 19:29:03 -0500 (EST)

Hi Jonathan,

On Fri, 25 Jan 2019, Jonathan Levi wrote:

> 1. Ds "Token String" is specifically designed so that IDEs will NOT format
> it like a string. Everything in a token string is required to be a valid D
> token so a basic lexer, like in Textadept, will format it right.
> 2. Unlike in C, the "l" (lower case "L") is not a valid suffix for numbers.
> 3. I am pretty sure ":" should be an operator (it is used as one in import
> statements at least.
> 4. The ".." (two dots) should be and operator within numbers rather than a
> decimal. I am guessing that this is beyond the basic lexer capabilities in
> Textadept (it is beyond knowledge of it at least.
> I made the changes to fix 1-3. How would it be best to share those with
> you?

I've checked in your fixes[1]. Thank you!

I've also solved #4 well enough I think[2].

These changes will appear in the next nightly build.



You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Fri 01 Feb 2019 - 19:29:03 EST

This archive was generated by hypermail 2.2.0 : Sat 02 Feb 2019 - 06:44:46 EST