Dogfood
In my neverending quest to amuse myself by confusing myself, I've reimplemented my Xml2CodeDom tool in XML so that it can now generate itself.
It took over 1600 lines of XML to generate only 130 lines of C# code so I don't expect that developers will be flocking over to this new format anytime soon. It was a fun experiment while it lasted.
This could, however, have some interesting applications for language agnostic code generation. Maybe tools like CollectionGen could use something like this in order to support all features for more than just one language without having to actually duplicate the logic for each language.
5:26:20 PM
|