This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Use of templates in c code?


On 13/02/13 16:24, Jonathan Wakely wrote:
On 13 February 2013 15:33, Alec Teal wrote:
I'm also thinking of re-writing the C++ parser there are some interesting
todos (using lookahead rather than "try the next option") it's a topic I
enjoy and something I could (probably) do, especially given a working
version already. thoughts and feelings on that real quick?
Do you mean rewrite or improve?

Rewriting it would be a major task, last undertaken for GCC 3.4, and
not to be undertaken lightly.

Not yet sure, the first thing would be the planning of it, and a prototype that actually parses, probably in Python, python rules! (for quick dev stuff anyway) it depends what I'd have to change and the output from the parser to the next stage (semantic analysis). It'd be a good chance to add some hooks (or something, again it's just a thought) for static analysis to use, fix some of those things that Clang is good for (apparently).

Once again, purely a thought, I'd love to at least try, what's this copyright malarkey I've been hearing about?

Alec.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]