On Tue, Jul 16, 2013 at 10:04 PM, deadalnix <deadalnix@gmail.com> wrote:
On Wednesday, 17 July 2013 at 04:14:56 UTC, Walter Bright wrote:
On 7/16/2013 8:49 PM, Timothee Cour wrote:
So how about a library solution instead, which doesn't require compiler change:

While semantically a great idea, technically I don't think CTFE is up to implementing a C front end yet.

This is the right path. We don't need the full front end, do we ?

what's a non-full C front end? If it's not a real C front end it's gonna break with certain macros etc. Not good.

I see no point in re-implementing a C front end when we can simply use an existing one to do the job (eg clang). This would also allow to parse C++ just as well.