[Top][All Lists]

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

Re: State-machine based syntax highlighting

From: Robert Thorpe
Subject: Re: State-machine based syntax highlighting
Date: 7 Dec 2006 06:39:33 -0800
User-agent: G2/1.0

address@hidden wrote:
> Robert Thorpe wrote:
> >
> > The Emacs "Semantic" package already does much of this, so do some
> > other editors.
> It would make more sense to create one such parser than reimplementing
> parsing in every editor...

In many ways it would.  But I expect it will be reimplemented in every
editor, for several reasons:-
* The insides of different editors work very differently
* External dependencies make building harder and irritate people
* Elisp is considerably nicer than many programming languages
reimplementing is not so hard
* Many people will make parsers as closed-source, or refuse to assign
copyright to the FSF
* People don't like helping other editors so they don't offer
functionality in an easily usable form
* GNU will not want to offer _parsers_ in an easily usable form,
because doing so would allow proprietery compilers to be built very

I'm not saying this is necessarily the best way, but I expect it's what
will happen.

> I did a quick search and found this page
> with a demo xemacs package with syntax highlighting and stuff. Looked
> interesting.


reply via email to

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