On 03/11/2015 14:46, Luiz Capitulino wrote: >> > Can you explain why that would make sense? :) (Especially since there >> > is another extension---JSON5---that does exactly what we're doing, so it >> > probably wasn't that stupid an idea). > Let's be pragmatic. *If* this is the only issue stopping us from > dropping our own parser in favor of something more widely used and > *if* libvirt doesn't make use of the feature, it's something we > should strongly consider.
I'm not sure what's so bad about our parser that makes it worthwhile to: 1) uglify all tests and make them inconsistent with the QAPI schemas, which also uses single-quoted strings 2) waste time finding a replacement for % interpolation (the best replacement here would be to rewrite the tests in Python IMHO, but that's not a small ask) Just let's remove the weird (to not say worse) usage of QDict/QList to store tokens... Paolo