[Top][All Lists]

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

Re: State-machine based syntax highlighting

From: Stefan Monnier
Subject: Re: State-machine based syntax highlighting
Date: Fri, 08 Dec 2006 21:10:01 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

> As far as I can see implementing a data-driven GLR parser into Emacs is
> the way to go.  That way the parser could interface directly with the
> buffer.

You may be right.  After all, a GLR grammar for a language can be easily
turned into a GLR grammar for the reversed language, so it could also be
used for backward parsing, which I find to be important for indentation.


reply via email to

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