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: 8 Dec 2006 00:36:50 -0800
User-agent: G2/1.0

Tim X wrote:
>
> The problem with parse based analysis is that you need an in-built
> parser for all the languages that the editor is used to develop in and
> this is not a trivial task. I suspect some sort of plugin architecture
> that is able to use stand-alone parses for some language of interest
> would probably be the way to go as it is unlikely even a small subset
> of the languages devleoped within an emacs environment can have a
> parser developed in elisp which is readily maintained.

I think too that some kind of bridge or plugin architecture is the
answer.

Lots of languages provide access to syntax trees in some form (python,
java, etc.), so it would be much simpler to use their native
implementation than reinveinting everything in elisp.



reply via email to

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