unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23501: Non-regex-based syntax highlighting
@ 2016-05-10  3:12 Nir Friedman
  2016-05-10 15:57 ` Richard Stallman
  2016-05-10 15:59 ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Nir Friedman @ 2016-05-10  3:12 UTC (permalink / raw)
  To: 23501

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

I'm considering using emacs as a platform for C++ development. One thing
that seems to lag behind on emacs at the moment is that all of the syntax
highlighting for C++ is (as far as I can tell) regex based. This severely
limits the accuracy and discrimination that the syntax highlighter can
achieve. There are now some packages for emacs that use a clang based
backends to get actual AST information. Perhaps it would be possible to
write some kind of hooks or template for major modes that would make it
easier for package authors to change how syntax highlighting is performed
in major modes?

[-- Attachment #2: Type: text/html, Size: 622 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-08-12  2:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-10  3:12 bug#23501: Non-regex-based syntax highlighting Nir Friedman
2016-05-10 15:57 ` Richard Stallman
2016-05-10 15:59 ` Eli Zaretskii
2016-05-10 18:55   ` Nir Friedman
2016-05-10 19:21     ` Eli Zaretskii
2016-05-10 20:16       ` Nir Friedman
2016-05-11  7:49         ` Eli Zaretskii
2020-08-12  2:31           ` Stefan Kangas
2016-05-11 17:56         ` John Mastro

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).