Jump to content
  • Advertisement


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


Metaprogramming Software

This topic is 5139 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Original post by quorn

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!