On Wednesday, 17 July 2013 at 09:27:53 UTC, Jacob Carlborg wrote:
On 2013-07-17 10:14, Walter Bright wrote:
Yeah, you do need the full front end. It's pretty amazing how
the
simplest of .h files seem determined to exercise every last,
dark corner
of the language.
If the converter doesn't accept the full language, you're just
going to
get a dump truck unloading on it.
When you do have a complete front end you can choose how to
handle the language constructs the tool cannot (yet) translate.
I.e. just skip it, insert a comment or similar.
If you don't have a full front end and encounters something
that you cannot translate, you will most likely have weird
behaviors.
My understanding is that we only want to convert declaration to
D. Can you give me an example of such corner case that would
require the full frontend ?