On 02/19/13 10:29, Markus Armbruster wrote:

> When it is, I'd suggest to try something like:
> 
> * Create a schema appropriate for QMP.  This results in a C data
>   structure (generated) and code accepting it.  Let's call the latter
>   "the interface".
> 
> * Create a schema for an opts-visitor, use it to take apart the option
>   string.  This results in another C data structure.
> 
> * Write glue code to convert the opts-visitor result into the data
>   structure accepted by the interface.

This is good, I like it.

Thanks,
Laszlo

Reply via email to