Status of the Header File Import

We have always said that we will provide an automatic import for existing C header files so you can call into 3rd party libraries. We have now finished the importer to the point where it can import structs, typedefs and function signatures — in effect, all the regular C stuff.

However, C header files can contain all kinds of weirdnesses: macro definitions, macro definitions being called from within the same header, #defines that use expressions, non-volatile memory layout definitions and of course #ifdefs. These turn out to be non-trivial to handle. However, we think we have found reasonable ways of addressing all of them and we are confident we’ll have a working solution within weeks.

In fact, we are currently in the process of starting the first real-world application projects with mbeddr, and the headers used in these projects drive the implementation of the importer. We aren’t quite there yet, but we are making good progress.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s