slice2xml or SliceScript
I'm looking for a way to auto-generate code based on Slice definitions. In our project we currently have about 50 Slice interfaces with associated data types. We also have a few utility libraries which operate on each interface. Examples:
- implementation: "standard" implementations of Slice interfaces
- logging: subscribe to each interface and store the received data type
- debugging: we have a tool which allows to connect to an object and "probe" each method.
- display: a library of toString() functions for each custom data type.
This type of code tends to be very repetitive (boring). Constant changes in the interfaces lead to a sizable workload. This begs for some soft of scriptable code generation based on Slice definitions. There're probably different way of doing it -- I am not a computer scientist.
E.g. would it be possible to define an XML descriptor for Slice? A slice2xml parser could convert .ice files to XML. That would be much easier for me to parse and use the contents to do what I want (compared to .ice files themselves). Of course, it would be even better if an XML parser (C++ or python or whatever) was included. 
cheers, alex
Alex Makarenko
Marathon Robotics
project: multi-robot systems