Are there any reliable solutions for annotations/reflection/code-metadata in C?

Posted by dukeofgaming on Programmers See other posts from Programmers or by dukeofgaming
Published on 2012-11-15T15:01:58Z Indexed on 2012/11/15 17:22 UTC
Read the original article Hit count: 160

Filed under:
|
|

Not all languages support java-like annotations or C#-like attributes or code metadata in general, however that doesn't mean it is not possible to have in languages that don't have this.

An example is PHP with Stubbles and the Doctrine annotation library.

My question is, is there anything like this for C?, or are there any reliable ways of doing reflection with extended code metadata in C?

Ideally, I'm looking for something that reads javadoc-like comments.

Edit: The reason for me *needing* as opposed to just wanting, is that I need to generate C code and code-metadata from a database, as well as being able to edit that metadada and update the database. The volume of the work (~15,000 variables/structures/functions to generate from this database) justifies the solution.

© Programmers or respective owner

Related posts about c

    Related posts about meta-programming