I'd agree that there is no such thing as a "little C++ compiler", or
even a
"little C++ parser", but C is a lot simpler. Do the Win32 API
libraries use
any C++ language features? I wrote an app once that did almost exactly
what
you've described, but for 68k-era Mac OS Toolbox headers. It wasn't
that big
a deal; I think I spent about a month's worth of free time writing the
parser and macro preprocessor.
No C++ features until you start getting into things like GDI+. But a
whole mess load of very weird macro replacements. It's certainly
possible to do, but just a headache to get right. Plus, it's not too
easy to write an application that properly adds things to an RB project
aside from writing an XML file that RB might be able to grok as an
import...
What's more, a parser-driven approach doesn't have to be platform
specific;
a single tool could generate Declare statements for header files from
Mac
OS, Windows, or Linux.
Another very good point.
~Aaron
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|