help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: State-machine based syntax highlighting


From: address@hidden
Subject: Re: State-machine based syntax highlighting
Date: 7 Dec 2006 03:56:07 -0800
User-agent: G2/1.0

Robert Thorpe wrote:
>
> In my view the real way to improve Emacs syntax highlighting would be
> to make it based on parsing.
>

Yes, it could be better, though in this case emacs would rely on
external tools doing the actual parsing, because I don't think the
syntax parsing of every language should be reimplemented in elisp.

That's not a big deal, since if I need to work with c files then
usually have the c compiler installed.

The only thing needed is a compiler for the given language which
outputs syntax information for the source file. I don't know if GCC can
do that.



reply via email to

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