Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Are there any disadvantages with using a compiler front-end?

0
Posted

Are there any disadvantages with using a compiler front-end?

0

– Yes. Several limitations of this approach became visible when using Cppp [which is now no longer part of the source-tree]. The biggest problem is complexity, as it can be rather complex to dive into the trees to get info. Some info may not be in the trees semantic processing. Among them is the name of arguments in your function declarations, though the names of arguments in the definition is available (and are used) in the argument scope. And you can’t document macros in C/C++ for obvious reasons (this can be solved easily by adding a primitive pre-processor). But you get full access to the code and can document whatever you want, and that is what you really want, no?

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123