Proof of concept: automatically import C header files
Paulo Pinto
pjmlp at progtools.org
Wed Jul 17 04:24:30 PDT 2013
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.
Thus we are back to the compiler as library discussion.
--
Paulo
More information about the Digitalmars-d
mailing list