[cfe-dev] Clarification for term "AST"
Markus.Elfring at web.de
Fri Feb 22 23:38:45 PST 2013
> A complete separation of concerns is impossible though,
I get the feeling here that your view presents some limitations which I
try to reduce.
> and Clang's implementation is basically at the edge of that limit.
I am curious how further adjustments will make corresponding software
evolution more interesting.
> Maybe you could summarize their findings?
Would you like to consider information from documents like the following
* Adrian D. Thurston:
A Computer Language Transformation System Capable
of Generalized Context-Dependent Parsing
* Edward D. Willink:
Meta-Compilation for C++
* Nicholas A. Kraft , Brian A. Malloy, James F. Power:
A Tool Chain for Reverse Engineering C++ Applications
> Yes, but the existing grammar of the language is not open for debate.
The debate will continue just by the fact that a lot of software
designers and developers struggle with the proper handling of
context-sensitive/dependent (programming) languages (like with C++).
> However, I think that as you gain a better understanding of the
> complexities of the task that Clang performs you will come to appreciate
> the current design as having quite a clear separation of concerns.
I imagine that further fine-tuning will be useful at various places.
More information about the cfe-dev