Monthly Archives: March 2011

A simple C to XML serializer

Some days ago I was asked for writing a program that could read any given C struct or union from a header file and serialize it to XML. I decided to write a program, called SC2XML: Simple C to XML serializer, flexible enough for adding later new C constructs like enums and typedefs. In order… Read More »