[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs contributions, C and Lisp
From: |
Eli Zaretskii |
Subject: |
Re: Emacs contributions, C and Lisp |
Date: |
Tue, 25 Feb 2014 18:25:05 +0200 |
> From: David Kastrup <address@hidden>
> Date: Tue, 25 Feb 2014 10:41:42 +0100
>
> The "annotated syntax tree" question would become more relevant for
> things like sourcecode highlighting. But in the interest of usefully
> fast feedback when editing, it would likely make more sense to let Emacs
> do the highlighting with local rules on its own and only converse with
> GCC when it becomes necessary to resolve ambiguities (like
> declaration/expression distinctions): GCC can only make helpful
> suggestions regarding the last time the source code was syntactically
> correct, so most of the time Emacs will need to go ahead with _some_
> idea anyway.
Is it certain that we actually need a compiler for that? Did someone
investigate whether CEDET infrastructure is capable of doing something
like that? Since, as you point out, a compiler will probably choke on
syntactically incorrect input, shouldn't we try to look elsewhere?
After all, we don't need to parse the source completely, only as much
as needed for completion.
- Re: Emacs contributions, C and Lisp, (continued)
- Re: Emacs contributions, C and Lisp, David Kastrup, 2014/02/24
- Re: Emacs contributions, C and Lisp, Richard Stallman, 2014/02/25
- Re: Emacs contributions, C and Lisp, Dmitry Gutov, 2014/02/25
- Re: Emacs contributions, C and Lisp, Stephen Leake, 2014/02/25
- Re: Emacs contributions, C and Lisp, Glenn Morris, 2014/02/24
- Re: Emacs contributions, C and Lisp, David Kastrup, 2014/02/25
- Re: Emacs contributions, C and Lisp, David Kastrup, 2014/02/25
- Re: Emacs contributions, C and Lisp, Stephen Leake, 2014/02/25
- Re: Emacs contributions, C and Lisp, David Kastrup, 2014/02/25
- Re: Emacs contributions, C and Lisp, Stephen Leake, 2014/02/25
- Re: Emacs contributions, C and Lisp,
Eli Zaretskii <=
- Re: Emacs contributions, C and Lisp, David Kastrup, 2014/02/25
- Re: Emacs contributions, C and Lisp, Eli Zaretskii, 2014/02/25
- Re: Emacs contributions, C and Lisp, Óscar Fuentes, 2014/02/25
- Re: Emacs contributions, C and Lisp, Eli Zaretskii, 2014/02/25
- Re: Emacs contributions, C and Lisp, Óscar Fuentes, 2014/02/25
- Re: Emacs contributions, C and Lisp, David Engster, 2014/02/26
- Re: Emacs contributions, C and Lisp, Josh, 2014/02/26
- Re: Emacs contributions, C and Lisp, David Engster, 2014/02/26
- Re: Emacs contributions, C and Lisp, Óscar Fuentes, 2014/02/26
- Re: Emacs contributions, C and Lisp, David Engster, 2014/02/26