|
|
Subscribe / Log in / New account

Emacs and clang?

Emacs and clang?

Posted Feb 6, 2014 5:55 UTC (Thu) by raven667 (subscriber, #5198)
In reply to: Emacs and clang? by javispedro
Parent article: GCC, LLVM, and compiler plugins

If I understand correctly the complexity of parsing the source and returning some sort or normalized representation of the code is going to be the same for a compiler as for a full-featured editor, so by definition the "simple" parser used by the editor, to be complete, will have to be the same complexity as the parser used by the compiler, so why not ditch the duplicate implementation (which won't be bug-for-bug compatible anyway) and use the compiler as the parser.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds