[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 23:33:03 -0800 |
User-agent: |
G2/1.0 |
Robert Thorpe wrote:
>
> If parsing were to be used to support syntax highlighting then maybe
> some work would have to be done to avoid having to use Elisp. But I'm
> not sure since it would still require loads of regexps and they would
> probably still eat up a lot of the runtime.
>
That may be true, but the advantage is that parsing actually
understands code, not just matches it with some regexps, so it could be
used for much more than syntax highlighting (some kind of error
checking, code completion, etc.).
I think if there are already parsers written in elisp they should be
intergrated into the official emacs distribution (e.g. in directory
lisp/parsers), so that packages can use them to understand the code
better.
- Re: State-machine based syntax highlighting, (continued)
- Re: State-machine based syntax highlighting, Robert Thorpe, 2006/12/07
- Re: State-machine based syntax highlighting, address@hidden, 2006/12/07
- Re: State-machine based syntax highlighting, Robert Thorpe, 2006/12/07
- Re: State-machine based syntax highlighting, address@hidden, 2006/12/07
- Re: State-machine based syntax highlighting, Robert Thorpe, 2006/12/07
- Re: State-machine based syntax highlighting, address@hidden, 2006/12/07
- Re: State-machine based syntax highlighting, Stefan Monnier, 2006/12/07
- Message not available
- Re: State-machine based syntax highlighting, address@hidden, 2006/12/07
- Re: State-machine based syntax highlighting, Robert Thorpe, 2006/12/07
- Re: State-machine based syntax highlighting, Perry Smith, 2006/12/07
- Re: State-machine based syntax highlighting,
address@hidden <=
- Re: State-machine based syntax highlighting, Tim X, 2006/12/08
- Re: State-machine based syntax highlighting, address@hidden, 2006/12/08
- Re: State-machine based syntax highlighting, Robert Thorpe, 2006/12/08
- Re: State-machine based syntax highlighting, address@hidden, 2006/12/08
- Re: State-machine based syntax highlighting, Stefan Monnier, 2006/12/08
- Re: State-machine based syntax highlighting, Stefan Monnier, 2006/12/08
- Re: State-machine based syntax highlighting, Lennart Borgman, 2006/12/08
- Re: State-machine based syntax highlighting, Leo, 2006/12/08
- Re: State-machine based syntax highlighting, Robert Thorpe, 2006/12/08
- Re: State-machine based syntax highlighting, Stefan Monnier, 2006/12/08