Archived

This topic is now archived and is closed to further replies.

Puzzler183

Metaprogramming Software

Recommended Posts

Puzzler183    540
Right now I''m working on some metaprogramming software that takes XML and converts it to C++ skeletons and code. The purpose is to support as much of C++ as is reasonable and eventually have an editor for the XML. So I''m trying to compile a list of features I need to implement. What I''ve done so far:
  • Namespaces
  • Classes, struct''s and unions
    • Access controls
    • Member variables
    • Some formatting
    • Templating
  • Enum''s
  • Nesting of the Above as appropriate
  • Includes
  • Defines and constants
  • Typedef''s
What I need to do:
  • Constructor generation
  • Methods and functions
  • Operator generation
  • Preprocessor controls
So my question is, does anyone see any important features of C++ I''m leaving out? Althought I code in it regularly, it''s really easy to forget things (I didn''t have unions for a while, etc.)

Share this post


Link to post
Share on other sites
Puzzler183    540
quote:
Original post by quorn
GCC-XML


Heh... My stuff is like that but in reverse. Thanks for pointing that out, I''ll look into what they do (although I think I''m going to keep my format as I''ve put a lot of time into a parser).

Share this post


Link to post
Share on other sites