[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tokenizing

From: Stephen Leake
Subject: Re: Tokenizing
Date: Sun, 21 Sep 2014 10:35:06 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt)

Stefan Monnier <address@hidden> writes:

>> - it should be possible to completely replace the font-lock-mode with
>> this mode, given a concrete language tokenizer;
> The intention for font-lock highlighting is to show
> syntactic structure.  In many cases, we end up limited to lexical
> highlighting, but that's a problem.

syntax-propertize provides hooks to let modes add to that; Ada mode uses
it for cases where lexical highlighting is ambiguous. Which is a problem
when parsing is too slow :(.

-- Stephe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]