Re: [PATCH v3 10/10] qapi: scripts: add a generator for qapi's examples

2023-10-18 Thread Markus Armbruster
Victor Toso writes: > Hi Markus, > > Sorry the delay on reply here. > > On Thu, Sep 21, 2023 at 01:06:01PM +0200, Markus Armbruster wrote: >> Victor Toso writes: >> >> > This generator has two goals: >> > 1. Mechanical validation of QAPI examples >> > 2. Generate the examples in a JSON format

Re: [PATCH v3 10/10] qapi: scripts: add a generator for qapi's examples

2023-10-18 Thread Victor Toso
Hi Markus, Sorry the delay on reply here. On Thu, Sep 21, 2023 at 01:06:01PM +0200, Markus Armbruster wrote: > Victor Toso writes: > > > This generator has two goals: > > 1. Mechanical validation of QAPI examples > > 2. Generate the examples in a JSON format to be consumed for extra > > v

Re: [PATCH v3 10/10] qapi: scripts: add a generator for qapi's examples

2023-09-21 Thread Markus Armbruster
Victor Toso writes: > This generator has two goals: > 1. Mechanical validation of QAPI examples > 2. Generate the examples in a JSON format to be consumed for extra > validation. > > The generator iterates over every Example section, parsing both server > and client messages. The generator

[PATCH v3 10/10] qapi: scripts: add a generator for qapi's examples

2023-09-19 Thread Victor Toso
This generator has two goals: 1. Mechanical validation of QAPI examples 2. Generate the examples in a JSON format to be consumed for extra validation. The generator iterates over every Example section, parsing both server and client messages. The generator prints any inconsistency found, for