Re: [Qemu-devel] [PATCH RFC v2 21/47] qapi: New QAPISchema intermediate reperesentation

2015-07-27 Thread Eric Blake
On 07/27/2015 03:23 AM, Markus Armbruster wrote: >>> >>> Create a bunch of classes to represent QAPI schemata. >>> >>> Have the QAPISchema initializer call the parser, then walk the syntax >>> tree to create the new internal representation, and finally perform >>> semantic analysis. >>> >>> +clas

Re: [Qemu-devel] [PATCH RFC v2 21/47] qapi: New QAPISchema intermediate reperesentation

2015-07-27 Thread Markus Armbruster
Eric Blake writes: > On 07/01/2015 02:22 PM, Markus Armbruster wrote: >> The QAPI code generators work with a syntax tree (nested dictionaries) >> plus a few symbol tables (also dictionaties) on the side. > > s/dictionaties/dictionaries/ Will fix. >> They have clearly outgrown these simple data

Re: [Qemu-devel] [PATCH RFC v2 21/47] qapi: New QAPISchema intermediate reperesentation

2015-07-21 Thread Eric Blake
On 07/01/2015 02:22 PM, Markus Armbruster wrote: > The QAPI code generators work with a syntax tree (nested dictionaries) > plus a few symbol tables (also dictionaties) on the side. s/dictionaties/dictionaries/ > > They have clearly outgrown these simple data structures. There's lots > of rumma

[Qemu-devel] [PATCH RFC v2 21/47] qapi: New QAPISchema intermediate reperesentation

2015-07-01 Thread Markus Armbruster
The QAPI code generators work with a syntax tree (nested dictionaries) plus a few symbol tables (also dictionaties) on the side. They have clearly outgrown these simple data structures. There's lots of rummaging around in dictionaries, and information is recomputed on the fly. For the work I'm g