[antlr-interest] Autiomatic header file generation for C/C++??

Eric researcher0x00 at gmail.com
Wed Mar 21 16:46:24 PDT 2012


Yea,

You could do something similar to what the person who is pulling out the
functions is doing. I did something like it when I was working on automatic
C# wrapper APIs for C++ DLLs. I didn't finish it, because I needed a better
C++ parser and better AST transformation tools. If you sneak a peak at the
file sharing section you will see where I am headed.

Eric

On Wed, Mar 21, 2012 at 7:01 PM, Voelkel, Andy <andy.voelkel at plantronics.com
> wrote:

>  Hi,
>
>
>
> I took a look a more detailed look at that and lzz. I prefer the approach
> of makeheaders – unfortunately it is old enough that it does not understand
> namespaces. Still, for a project that does not need namespaces, it might
> just work.
>
>
>
> I find it *AMAZING* that C/C++ programmers put up with the hassle of
> manual header file maintenance, and that no other tool seems to be in
> widespread use.  Last time I checked it was 2012, not 1985.
>
>
>
> -          Andy
>
>
>
> *From:* Eric [mailto:researcher0x00 at gmail.com]
> *Sent:* Tuesday, March 20, 2012 5:00 PM
> *To:* Voelkel, Andy
> *Cc:* antlr-interest at antlr.org
> *Subject:* Re: [antlr-interest] Autiomatic header file generation for
> C/C++??
>
>
>
> Hi Andy,
>
>
>
> FWIW I did a quick search and found makeheaders.
>
>
>
> Eric
>
> On Tue, Mar 20, 2012 at 7:49 PM, Voelkel, Andy <
> andy.voelkel at plantronics.com> wrote:
>
> Hi,
>
> Does anyone know of any tools for generating C/C++ header files
> automatically from an annotated version of the C/C++ source files? I really
> hate writing and maintaining header files in C/C++.
>
> This isn't strictly related to Antlr, other than the fact that Antlr would
> be a logical front end for such a tool. But I thought that the same types
> that hang out in Antlr-land might know about such things.
>
>
> -          Andy
>
> ________________________________
>
> CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files
> or previous e-mail messages attached to it, may contain information that is
> confidential and/or legally privileged. If you are not the intended
> recipient, or a person responsible for delivering it to the intended
> recipient, please DO NOT disclose the contents to another person, store or
> copy the information in any medium, or use any of the information contained
> in or attached to this transmission for any purpose. If you have received
> this transmission in error, please immediately notify the sender by reply
> email or at privacy at plantronics.com, and destroy the original
> transmission and its attachments without reading or saving in any manner.
>
> For further information about Plantronics - the Company, its products,
> brands, partners, please visit our website www.plantronics.com.
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>
>
> ------------------------------
>
> CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files
> or previous e-mail messages attached to it, may contain information that is
> confidential and/or legally privileged. If you are not the intended
> recipient, or a person responsible for delivering it to the intended
> recipient, please DO NOT disclose the contents to another person, store or
> copy the information in any medium, or use any of the information contained
> in or attached to this transmission for any purpose. If you have received
> this transmission in error, please immediately notify the sender by reply
> email or at privacy at plantronics.com, and destroy the original
> transmission and its attachments without reading or saving in any manner.
>
> For further information about Plantronics - the Company, its products,
> brands, partners, please visit our website www.plantronics.com.
>


More information about the antlr-interest mailing list