Example of code generator you made from scratch?

Posted by rosscj2533 on Stack Overflow See other posts from Stack Overflow or by rosscj2533
Published on 2009-12-10T23:13:05Z Indexed on 2010/04/10 0:33 UTC
Read the original article Hit count: 401

What are some examples of code generators you have used? I think it's a cool idea, but I have trouble thinking of things they can do besides make a class based on an object's attributes/database schema (as described in The Pragmatic Programmer). What language did you write them in and what language did they output?

Edit: Thanks for the responses so far. What I am really looking for is examples of code generators made from scratch for some certain purpose. I mentioned it in the title, but didn't make it very clear in my question. How did you go about making a code generator on your own and what specificly did it achieve?

© Stack Overflow or respective owner

Related posts about code-generator

Related posts about example