qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH 19/32] qapi: Accept double-quoted strings


From: Eric Blake
Subject: Re: [Qemu-devel] [RFC PATCH 19/32] qapi: Accept double-quoted strings
Date: Thu, 5 Oct 2017 10:16:43 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 10/04/2017 11:41 PM, Markus Armbruster wrote:

> Sadly, the schema language is neither JSON, nor an established extension
> of JSON, nor Python.  This commit brings the schema language one step
> closer to a superset of JSON.  I feel "homegrown superset" is a slightly
> less bad idea than "homegrown with large overlap".
> 
> Naming the schema files .json was in bad taste.

Would it make sense to rename all of our files from .json to .qapi?
Then it is obvious that we are using a homegrown syntax; and it is also
easy enough to tweak things like .dir-locals.el to recognize that suffix
as triggering specific formatting rules.  Git rename detection means it
is still reasonable to blame across file renames.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]